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.
This hook occurs 3 times in this file.
Line | Code |
---|---|
327 | } |
328 | ?></select> <?php _e('(Leave at 0 for no rating.)') ?> |
329 | </td> |
330 | </tr> |
331 | </table> |
332 | <?php |
333 | } |
334 | add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', 'link', 'normal', 'core'); |
335 |
|
336 | do_action('do_meta_boxes', 'link', 'normal', $link); |
337 | do_action('do_meta_boxes', 'link', 'advanced', $link); |
338 | do_action('do_meta_boxes', 'link', 'side', $link); |
339 |
|
340 | require_once ('admin-header.php'); |
341 |
|
342 | ?> |
343 | <div class="wrap"> |
344 | <?php screen_icon(); ?> |
345 | <h2><?php echo esc_html( $title ); ?></h2> |
346 |
|
347 | <?php if ( isset( $_GET['added'] ) ) : ?> |