wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_prepare_attachment_for_js › Les Filtres WordPress

Depuis3.5.0
Dépréciéen/a
› apply_filters( 'wp_prepare_attachment_for_js', $response, $attachment, $meta )
Paramètres: (3)
  • () response Array of prepared attachment data. See {@see \wp_prepare_attachment_for_js()}.
    Requis: Oui
  • () attachment Attachment object.
    Requis: Oui
  • () meta Array of attachment meta data, or false if there is none.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the attachment data prepared for JavaScript.





Source

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