apply_filters( 'audio_submitbox_misc_sections', array $fields, WP_Post $post )

Filters the audio attachment metadata fields to be shown in the publish meta box.

Description Description

The key for each item in the array should correspond to an attachment metadata key, and the value should be the desired label.

Parameters Parameters


(array) An array of the attachment metadata keys and labels.


(WP_Post) WP_Post object for the current attachment.

In WordPress theme and development, Hooks are functions that can be applied to an Action or a Filter in WordPress. Actions and Filters in WordPress are functions that can be altered by theme and plugin developers to change the default WordPress functionality.

Functions used to alter Actions/Filters in WordPress can be hooked into WordPress. In any case, note that actions and filters are not some thing very similar. Actions are functions performed when a specific occasion happens in WordPress. Filters enable you to change certain functions. Arguments used to hook the two filters and actions appear to be identical. Be that as it may, they are different in functionality and how they carry on.