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



wp_get_attachment_caption › WordPress Filter Hooks

Da4.6.0
Deprecaton/a
› apply_filters( 'wp_get_attachment_caption', $caption, $post->ID )
Parametri: (2)
  • () caption Caption for the given attachment.
    Richiesto: Sì
  • () post_id Attachment ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the attachment caption.





Sorgenti

return apply_filters( 'wp_get_attachment_caption', $caption, $post->ID );