attachment_url_to_postid – filter
Filters an attachment ID found by URL.
Parameters
- .
- ( 4.2.0 ) . .
- $post_id
- ( int|null ) The post_id (if any) found by the function. . . .
- ( string ) $url The URL being looked up. . . .
Filters an attachment ID found by URL.
Published:
Last updated:
21st August 2020