edit_form_advanced
Fires after 'normal' context meta boxes have been output for all post types other than 'page'.
Usage
add_action( 'edit_form_advanced', 'wp_kama_edit_form_advanced_action' ); /** * Function for `edit_form_advanced` action-hook. * * @param WP_Post $post Post object. * * @return void */ function wp_kama_edit_form_advanced_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_form_advanced
wp-admin/edit-form-advanced.php 742
do_action( 'edit_form_advanced', $post );
wp-admin/includes/post.php 2551
do_action( 'edit_form_advanced', $post );
Where the hook is used in WordPress
wp-includes/class-wp-embed.php 46
add_action( 'edit_form_advanced', array( $this, 'maybe_run_ajax_cache' ) );