edit_form_after_title

edit_form_after_title

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('edit_form_after_title') is found 2 times:

  • /wp-admin/edit-form-advanced.php line 608
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    * @since 3.5.0
     *
     * @param WP_Post $post Post object.
     */
    do_action( 'edit_form_after_title', $post );
     
    if ( post_type_supports( $post_type, 'editor' ) ) {
        $_wp_editor_expand_class = '';
        if ( $_wp_editor_expand ) {
            $_wp_editor_expand_class = ' wp-editor-expand';
        }
  • /wp-admin/includes/post.php line 2547
    2543
    2544
    2545
    2546
    2547
    2548
    2549
    2550
    2551
    2552
    2553
    * and extract the hidden input fields.
     */
    ob_start();
    /** This filter is documented in wp-admin/edit-form-advanced.php */
    do_action( 'edit_form_after_title', $post );
    /** This filter is documented in wp-admin/edit-form-advanced.php */
    do_action( 'edit_form_advanced', $post );
    $classic_output = ob_get_clean();
     
    $classic_elements = wp_html_split( $classic_output );
    $hidden_inputs    = '';

See this hook used in plugins: