wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_prepare_attachment_for_js › WordPress Filter Hooks

Seit3.5.0
Veraltetn/v
apply_filters( 'wp_prepare_attachment_for_js', $response, $attachment, $meta )
Parameter: (3)
  • () response Array of prepared attachment data. See {@see \wp_prepare_attachment_for_js()}.
    Erforderlich: Ja
  • () attachment Attachment object.
    Erforderlich: Ja
  • () meta Array of attachment meta data, or false if there is none.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the attachment data prepared for JavaScript.





Quellcode

return apply_filters( 'wp_prepare_attachment_for_js', $response, $attachment, $meta );