do_action( 'edit_form_top', WP_Post $post )
Fires at the beginning of the edit form.
Description
At this point, the required hidden fields and nonces have already been output.
Parameters
-
$post
WP_Post -
Post object.
Source
File: wp-admin/edit-form-advanced.php
.
View all references
do_action( 'edit_form_top', $post );
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
This hook for adding to the edit screen after the “Add New Post” title
Example :
It will be print “hello world” after edit screen title.