audio_submitbox_misc_sections

audio_submitbox_misc_sections

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('audio_submitbox_misc_sections') is found 1 times:

  • /wp-admin/includes/media.php line 3485
    		 *
    		 * @param array   $fields An array of the attachment metadata keys and labels.
    		 * @param WP_Post $post   WP_Post object for the current attachment.
    		 */
    		$audio_fields = apply_filters( 'audio_submitbox_misc_sections', $fields, $post );
    
    		foreach ( $audio_fields as $key => $label ) {
    			if ( empty( $meta['audio'][ $key ] ) ) {
    				continue;
    			}