wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_prepare_attachment_for_js › WordPress Filter Hooks

Da3.5.0
Deprecaton/a
› apply_filters( 'wp_prepare_attachment_for_js', $response, $attachment, $meta )
Parametri: (3)
  • () response Array of prepared attachment data. See {@see \wp_prepare_attachment_for_js()}.
    Richiesto: Sì
  • () attachment Attachment object.
    Richiesto: Sì
  • () meta Array of attachment meta data, or false if there is none.
    Richiesto: Sì
Definito a:
Codex:

Filters the attachment data prepared for JavaScript.





Sorgenti

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