attachment_submitbox_misc_actions WordPress Action Hook

The attachment_submitbox_misc_actions hook is a hook that is called when the misc actions are displayed on the attachment submit box. This hook can be used to add extra actions to the attachment submit box.

do_action( 'attachment_submitbox_misc_actions', WP_Post $post ) #

Fires after the ‘Uploaded on’ section of the Save meta box in the attachment editing screen.


Parameters

$post

(WP_Post)WP_Post object for the current attachment.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

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