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.


Top ↑

Parameters

$post

(WP_Post)Post object.


Top ↑

Source

File: wp-admin/edit-form-advanced.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.