wpseek.com
WordPress开发者和主题制作者的搜索引擎



url_to_postid › WordPress过滤钩子

Since2.2.0
已弃用n/a
apply_filters( 'url_to_postid', $url )
参数:
  • (string) $url The URL to derive the post ID from.
    Required: Yes
定义在:
文档:

Filters the URL to derive the post ID from.





源码

$url = apply_filters( 'url_to_postid', $url );