Wordpress 钩子:template_directory_uri
文章目录
过滤当前主题目录URI。
原型
apply_filters( 'template_directory_uri', string $template_dir_uri, string $template, string $theme_root_uri )
参数
$template_dir_uri
(string)
当前主题目录的URI。
$template
(string)
当前主题的目录名称。
$theme_root_uri
(string)
主题根URI。
源文件
路径:wp-includes/theme.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/template_directory_uri/
文章作者 iBllex
上次更新 2019-02-12