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



wp_get_attachment_url › WordPress Filter Hooks

Da2.1.0
Deprecaton/a
› apply_filters( 'wp_get_attachment_url', $url, $post->ID )
Parametri: (2)
  • () url URL for the given attachment.
    Richiesto: Sì
  • () attachment_id Attachment post ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the attachment URL.





Sorgenti

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