do_action( "post_edit_form_tag", WP_Post $post )

Fires inside the post editor form tag.

Parameters

$post

WP_Post

Post object.

Source

File: wp-admin/edit-form-advanced.php.

View all references

do_action( "post_edit_form_tag", $post );

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"); ?>>

Leave a Reply

Your email address will not be published. Required fields are marked *