edit_form_top WordPress Action Hook
The edit_form_top hook is called before the default editor interface is loaded for a new post or page. This hook can be used to add custom fields to the default editor interface.
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
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |