submitpage_box action-hook . WP 2.5.0
Fires before meta boxes with 'side' context are output for the 'page' post type.
The submitpage box is a meta box with 'side' context, so this hook fires just before it is output.
Usage
add_action( 'submitpage_box', 'action_function_name_8992' ); function action_function_name_8992( $post ){ // action... }
- $post(WP_Post)
- Post object.
Changelog
Since 2.5.0 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-form-advanced.php
submitpage_box
wp-admin/edit-form-advanced.php 666
do_action( 'submitpage_box', $post );