WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about audio_submitbox_misc_sections

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/media.php apply_filters 3444 /**
* Filters the audio attachment metadata fields to be shown in the publish meta box.
*
* The key for each item in the array should correspond to an attachment
* metadata key, and the value should be the desired label.
*
* @since 3.7.0
* @since 4.9.0 Added the `$post` parameter.
*
* @param array $fields An array of the attachment metadata keys and labels.
* @param WP_Post $post WP_Post object for the current attachment.
*/

Hook Parameters

Parameter Type Name Description
array $fields An array of the attachment metadata keys and labels.
WP_Post $post WP_Post object for the current attachment.