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



wp_get_attachment_thumb_file › Filtr WordPress Hooks

Od2.1.0
Przestarzałyn/a
› apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID )
Parametry: (2)
  • () thumbfile File path to the attachment thumbnail.
    Wymagane: Tak
  • () post_id Attachment ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the attachment thumbnail file path.





Źródło

return apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID );