submitpage_box WordPress Action Hook
The submitpage_box hook allows you to add custom content to the Submit Page box on the Add New Post page. This is useful if you want to add extra fields or information to the submit page.
do_action( 'submitpage_box', WP_Post $post ) #
Fires before meta boxes with ‘side’ context are output for the ‘page’ post type.
Description
The submitpage box is a meta box with ‘side’ context, so this hook fires just before it is output.
Parameters
- $post
(WP_Post)Post object.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |