edit_form_after_title

The WordPress Core edit form after title hook.

Description

add_action( 'edit_form_after_title', (string) $wp_posts_page_notice ); 

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.
  1. // run the action 
  2. do_action( 'edit_form_after_title', $wp_posts_page_notice ); 
The following example is for adding a hook callback.
  1. // define the edit_form_after_title callback 
  2. function action_edit_form_after_title( $wp_posts_page_notice ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'edit_form_after_title', 'action_edit_form_after_title', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. 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  
  1. add_action( 'edit_form_after_title', '_wp_posts_page_notice' ); 
  1. add_action( 'edit_form_after_title', 'edit_form_image_editor' ); 
  1. do_action( 'edit_form_after_title', $post );