post_edit_form_tag
Fires inside the post editor form tag.
Usage
add_action( 'post_edit_form_tag', 'wp_kama_post_edit_form_tag_action' ); /** * Function for `post_edit_form_tag` action-hook. * * @param WP_Post $post Post object. * * @return void */ function wp_kama_post_edit_form_tag_action( $post ){ // action... }
- $post(WP_Post)
- Post object.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-form-advanced.php
post_edit_form_tag
wp-admin/edit-form-advanced.php 489
do_action( 'post_edit_form_tag', $post );