edit_form_after_title
The WordPress Core edit form after title hook.
Description
Parameters (1)
- 0. $wp_posts_page_notice (string) =>
'_wp_posts_page_notice'
- The
wp
posts page notice.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'edit_form_after_title', $wp_posts_page_notice );
- The following example is for adding a hook callback.
- // define the edit_form_after_title callback
- function action_edit_form_after_title( $wp_posts_page_notice ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'edit_form_after_title', 'action_edit_form_after_title', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'edit_form_after_title', 'action_edit_form_after_title', 10, 1 );
Defined (3)
The action is defined in the following location(s).
- /wp-admin/edit-form-advanced.php
- add_action( 'edit_form_after_title', '_wp_posts_page_notice' );
- add_action( 'edit_form_after_title', 'edit_form_image_editor' );
- do_action( 'edit_form_after_title', $post );