attachment_submitbox_misc_actions action-hook . WP 3.5.0
Fires after the 'Uploaded on' section of the Save meta box in the attachment editing screen.
Usage
add_action( 'attachment_submitbox_misc_actions', 'action_function_name_8162' ); function action_function_name_8162( $post ){ // action... }
- $post(WP_Post)
- WP_Post object for the current attachment.
Changelog
Since 3.5.0 | Introduced. |
Since 4.9.0 | Added the $post parameter. |
Where the hook is called
attachment_submitbox_misc_actions
wp-admin/includes/meta-boxes.php 430
do_action( 'attachment_submitbox_misc_actions', $post );
Where in WP core the hook is used WordPress
wp-admin/includes/meta-boxes.php 17
add_action( 'attachment_submitbox_misc_actions', 'attachment_submitbox_metadata' );