post_submitbox_start WordPress Action Hook

The post_submitbox_start hook is triggered before the Submit meta box is displayed on the post editing screen. This hook can be used to add additional content or fields to the Submit meta box.

do_action( 'post_submitbox_start', WP_Post|null $post ) #

Fires at the beginning of the publishing actions section of the Publish meta box.


Parameters

$post

(WP_Post|null)WP_Post object for the current post on Edit Post screen, null on Edit Link screen.


Top ↑

Source

File: wp-admin/includes/meta-boxes.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.0Added the $post parameter.
2.7.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.