Wordpress 钩子:content_url
文章目录
过滤URL到内容目录。
原型
apply_filters( 'content_url', string $url, string $path )
参数
$url
(string)
内容目录的完整URL,包括方案和路径。
$path
(string)
相对于内容目录的URL的路径。如果未指定路径,则为空字符串。
源文件
路径:wp-includes/link-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/content_url/
文章作者 iBllex
上次更新 2019-02-17