WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
79 | "); |
80 |
|
81 | if (!$result) { |
82 | die ("There is an error with the database, it can't store your comment...<br />Please contact the webmaster."); |
83 | } else { |
84 | $comment_ID = $wpdb->get_var('SELECT last_insert_id()'); |
85 | if (get_settings('comments_notify')) |
86 | wp_notify_postauthor($comment_ID, 'trackback'); |
87 | trackback_response(0); |
88 | do_action('trackback_post', $comment_ID); |
89 | } |
90 | } |
91 | ?> |