post_edit_form_tag

post_edit_form_tag

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('post_edit_form_tag') is found 1 times:

  • /wp-admin/edit-form-advanced.php line 489
     * @since 3.0.0
     *
     * @param WP_Post $post Post object.
     */
    do_action( 'post_edit_form_tag', $post );
    
    $referer = wp_get_referer();
    ?>
    >
    <?php wp_nonce_field( $nonce_action ); ?>
    <input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID; ?>" />
    

See this hook used in plugins: