edit_page_form
Fires after 'normal' context meta boxes have been output for the 'page' post type.
Usage
add_action( 'edit_page_form', 'wp_kama_edit_page_form_action' ); /** * Function for `edit_page_form` action-hook. * * @param WP_Post $post Post object. * * @return void */ function wp_kama_edit_page_form_action( $post ){ // action... }
- $post(WP_Post)
- Post object.
Changelog
Since 1.5.0 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-form-advanced.php
edit_page_form
wp-admin/edit-form-advanced.php 733
do_action( 'edit_page_form', $post );
Where the hook is used in WordPress
wp-includes/class-wp-embed.php 47
add_action( 'edit_page_form', array( $this, 'maybe_run_ajax_cache' ) );