includes_url
apply_filters( ‘includes_url’, string $url , string $path )
过滤器::过滤includes目录的URL。
Filter Hook: Filters the URL to the includes directory.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$url | (string) | includes目录的完整URL,包括scheme和path。 |
$path | (string) | 相对于wp includes目录的URL的路径。如果未指定路径,则为空字符串。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.8.0 | wp-includes/link-template.php:3348 | 1 | 0 |
includes_url 为WP2原创文章,链接:https://www.wp2.cn/hook/includes_url-2/