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 |
---|---|
994 | <input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" /> |
995 | <?php |
996 | /** |
997 | * Fires before the help hint text in the 'Page Attributes' meta box. |
998 | * |
999 | * @since 4.9.0 |
1000 | * |
1001 | * @param WP_Post $post The current post. |
1002 | */ |
1003 | do_action( 'page_attributes_misc_attributes', $post ); |
1004 | ?> |
1005 | <?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) : ?> |
1006 | <p class="post-attributes-help-text"><?php _e( 'Need help? Use the Help tab above the screen title.' ); ?></p> |
1007 | <?php |
1008 | endif; |
1009 | endif; |
1010 | } |
1011 |
|
1012 | // |