attachment_url_to_postid

最后更新于:2021-11-25 20:33:31

apply_filters( ‘attachment_url_to_postid’, int|null $post_id, string $url )

Filters an attachment ID found by URL.

参数

$post_id

(int|null)
The post_id (if any) found by the function.

$url

(string)
The URL being looked up.

源文件

文件: gc-includes/media.php

View on Trac