Home/Hooks/audio_submitbox_misc_sections
FILTER

audio_submitbox_misc_sections

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.

wp-admin/includes/media.php
Line 3489
2 Parameters
View Source

Usage

add_filter( 'audio_submitbox_misc_sections', 'your_callback_function', 10, 2 );

Filter Callback:

function your_callback_function( $fields, $post ) {
    // Your code here
    return $fields;
}

Parameters

$fields

Parameter 1

$post

Parameter 2

🔄 Filter Hook

Filter hooks allow you to modify data before it is saved to the database or displayed on the screen. Filters must return a value.