do_action( 'submitpost_box', WP_Post $post )

Fires before meta boxes with ‘side’ context are output for all post types other than ‘page’.


Description

The submitpost 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 all references

do_action( 'submitpost_box', $post );

Top ↑

Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.