edit_form_top action-hookWP 3.7.0

Fires at the beginning of the edit form.

At this point, the required hidden fields and nonces have already been output.


add_action( 'edit_form_top', 'wp_kama_edit_form_top_action' );

 * Function for `edit_form_top` action-hook.
 * @param WP_Post $post Post object.
 * @return void
function wp_kama_edit_form_top_action( $post ){

	// action...
Post object.


Since 3.7.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-form-advanced.php
wp-admin/edit-form-advanced.php 500
do_action( 'edit_form_top', $post );

Where the hook is used in WordPress

Usage not found.