post_submitbox_minor_actions WordPress Action Hook

The post_submitbox_minor_actions hook allows you to add additional actions to the WordPress post submit box. This can be useful if you want to add custom functionality to your WordPress site. For example, you could use this hook to add a button to the submit box that allows users to share the post on social media.

do_action( 'post_submitbox_minor_actions', WP_Post $post ) #

Fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes) buttons 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.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.