Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 5145 | /** * Filters an attachment ID found by URL. * * @since 4.2.0 * * @param int|null $post_id The post_id (if any) found by the function. * @param string $url The URL being looked up. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int|null | $post_id | The post_id (if any) found by the function. |
string | $url | The URL being looked up. |