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



wp_get_attachment_caption › Les Filtres WordPress

Depuis4.6.0
Dépréciéen/a
› apply_filters( 'wp_get_attachment_caption', $caption, $post->ID )
Paramètres: (2)
  • () caption Caption for the given attachment.
    Requis: Oui
  • () post_id Attachment ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the attachment caption.





Source

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