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)
  • () link The attachment's permalink.
    Richiesto: Sì
  • () post_id Attachment ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the permalink for an attachment.





Sorgenti

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