post_submitbox_misc_actions WordPress Action Hook

The post_submitbox_misc_actions hook is a great way to add extra functionality to your Wordpress site. This hook allows you to add custom buttons or links to the "Post" page in the Wordpress admin area. You can use this hook to add custom buttons for your plugins or to add extra links to your theme's options page.

do_action( 'post_submitbox_misc_actions', WP_Post $post ) #

Fires after the post time/date setting in the Publish meta box.


Parameters

$post

(WP_Post)WP_Post object for the current post.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

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