do_action( ‘post_edit_form_tag’, WP_Post $post )

Fires inside the post editor form tag.

Parameters

$postWP_Post
Post object.

More Information

Applies to the tag for the default post edit page (which is used for pages and custom post types). It is at the end of the form start tag and before the closing bracket.

<form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag'); ?>>

Source

do_action( 'post_edit_form_tag', $post );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.