wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



audio_submitbox_misc_sections › Filtr WordPress Hooks

Od4.9.0
Przestarzałyn/a
› apply_filters( 'audio_submitbox_misc_sections', $fields, $post )
Parametry: (2)
  • () fields An array of the attachment metadata keys and labels.
    Wymagane: Tak
  • () post WP_Post object for the current attachment.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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