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



wp_get_attachment_url › Les Filtres WordPress

Depuis2.1.0
Dépréciéen/a
› apply_filters( 'wp_get_attachment_url', $url, $post->ID )
Paramètres: (2)
  • () url URL for the given attachment.
    Requis: Oui
  • () attachment_id Attachment post ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the attachment URL.





Source

$url = apply_filters( 'wp_get_attachment_url', $url, $post->ID );