Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: page_attributes_misc_attributes

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
1062 <input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" />
1063           <?php
1064           /**
1065            * Fires before the help hint text in the 'Page Attributes' meta box.
1066            *
1067            * @since 4.9.0
1068            *
1069            * @param WP_Post $post The current post.
1070            */
1071           do_action( 'page_attributes_misc_attributes', $post );
1072           ?>
1073           <?php if ( 'page' === $post->post_type && get_current_screen()->get_help_tabs() ) : ?>
1074 <p class="post-attributes-help-text"><?php _e( 'Need help? Use the Help tab above the screen title.' ); ?></p>
1075                <?php
1076      endif;
1077      endif;
1078 }
1079
1080 //