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 |
---|---|
2345 |
|
2346 | return $supported_methods; |
2347 | } |
2348 |
|
2349 |
|
2350 | /* mt.supportedTextFilters ...returns an empty array because we don't |
2351 | support per-post text filters yet */ |
2352 | function mt_supportedTextFilters($args) { |
2353 | do_action('xmlrpc_call', 'mt.supportedTextFilters'); |
2354 | return apply_filters('xmlrpc_text_filters', array()); |
2355 | } |
2356 |
|
2357 |
|
2358 | /* mt.getTrackbackPings ...returns trackbacks sent to a given post */ |
2359 | function mt_getTrackbackPings($args) { |
2360 |
|
2361 | global $wpdb; |
2362 |
|
2363 | $post_ID = intval($args); |