A WordPress-centric search engine for devs and theme authors



audio_submitbox_misc_sections ›

Since4.9.0
Deprecatedn/a
apply_filters( 'audio_submitbox_misc_sections', $fields, $post )
Parameters: (2)
  • (array) $fields An array of the attachment metadata keys and labels.
    Required: Yes
  • (WP_Post) $post WP_Post object for the current attachment.
    Required: Yes
Defined at:
Codex:

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.





Source

$audio_fields = apply_filters( 'audio_submitbox_misc_sections', $fields, $post );