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



attachment_link › WordPress Filter Hooks

Da5.6.0
Deprecaton/a
apply_filters( 'attachment_link', $link, $post->ID )
Parametri: (2)
  • (string) $link The attachment's permalink.
    Richiesto:
  • (int) $post_id Attachment ID.
    Richiesto:
Definito a:
Codex:

Filters the permalink for an attachment.





Sorgenti

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