Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: edit_comment

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1388
1389      $content = balanceTags($content);
1390
1391      $content = format_to_post($content);
1392
1393
1394
1395      $result = $wpdb->query("
1396
1397           UPDATE $tablecomments SET
1398
1399                comment_content = '$content',
1400
1401                comment_author = '$newcomment_author',
1402
1403                comment_author_email = '$newcomment_author_email',
1404
1405                comment_author_url = '$newcomment_author_url'".$datemodif."
1406