edit_form_top action-hook . WP 3.7.0
Fires at the beginning of the edit form.
At this point, the required hidden fields and nonces have already been output.
Usage
add_action( 'edit_form_top', 'action_function_name_3016' ); function action_function_name_3016( $post ){ // action... }
- $post(WP_Post)
- Post object.
Changelog
Since 3.7.0 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-form-advanced.php
edit_form_top
wp-admin/edit-form-advanced.php 500
do_action( 'edit_form_top', $post );