wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



audio_submitbox_misc_sections › Hooks de Filtros WordPress

Desde4.9.0
Obsoleton/a
› apply_filters( 'audio_submitbox_misc_sections', $fields, $post )
Parâmetros: (2)
  • () fields An array of the attachment metadata keys and labels.
    Required: Yes
  • () post WP_Post object for the current attachment.
    Required: Yes
Definido em:
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.




Fonte

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