wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



attachment_link › Filtr WordPress Hooks

Od5.6.0
Przestarzałyn/a
› apply_filters( 'attachment_link', $link, $post->ID )
Parametry: (2)
  • () link The attachment's permalink.
    Wymagane: Tak
  • () post_id Attachment ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the permalink for an attachment.





Źródło

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