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



attachment_link › Les Filtres WordPress

Depuis5.6.0
Dépréciéen/a
apply_filters( 'attachment_link', $link, $post->ID )
Paramètres: (2)
  • (string) $link The attachment's permalink.
    Requis: Oui
  • (int) $post_id Attachment ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the permalink for an attachment.





Source

return apply_filters( 'attachment_link', $link, $post->ID );