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



attachment_url_to_postid › Filtr WordPress Hooks

Od4.2.0
Przestarzałyn/a
› apply_filters( 'attachment_url_to_postid', $post_id, $url )
Parametry: (2)
  • () post_id The post_id (if any) found by the function.
    Wymagane: Tak
  • () url The URL being looked up.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters an attachment ID found by URL.





Źródło

return (int) apply_filters( 'attachment_url_to_postid', $post_id, $url );