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.

Source

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

View on Trac

Changelog

Version Description
4.9.0 Added the $post parameter.
2.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_submitbox_start