do_action( 'post_edit_form_tag', WP_Post $post )

Fires inside the post editor form tag.


$post WP_Post
Post object.

Top ↑

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

Top ↑


File: wp-admin/edit-form-advanced.php. View all references

do_action( 'post_edit_form_tag', $post );

Top ↑


Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

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