page_attributes_misc_attributes
Fires before the help hint text in the 'Page Attributes' meta box.
Usage
add_action( 'page_attributes_misc_attributes', 'wp_kama_page_attributes_misc_action' );
/**
* Function for `page_attributes_misc_attributes` action-hook.
*
* @param WP_Post $post The current post.
*
* @return void
*/
function wp_kama_page_attributes_misc_action( $post ){
// action...
}
- $post(WP_Post)
- The current post.
Changelog
| Since 4.9.0 | Introduced. |
Where the hook is called
page_attributes_misc_attributes
wp-admin/includes/meta-boxes.php 1080
do_action( 'page_attributes_misc_attributes', $post );