常用函数-did_action() 常用函数-did_action() 常用函数-did_action() 说明 检索动作被激活的次数 用法 <?php did_action(... 最后更新 2022.03.26
常用函数-remove_action() 常用函数-remove_action() 常用函数-remove_action() 说明 该函数移除一个附属于指定动作hook的函数。该方法可用来移除附... 最后更新 2022.03.26
常用函数-add_action() 常用函数-add_action() 常用函数-add_action() 说明 将函数连接到指定action(动作)。 在Plugin API/Ac... 最后更新 2022.03.26
常用函数-get_stylesheet_uri() 常用函数-get_stylesheet_uri() 常用函数-get_stylesheet_uri() 说明 检索当前 主题样式表单的URI。 样式表单文件名为&... 最后更新 2022.03.26
常用函数-get_stylesheet_directory() 常用函数-get_stylesheet_directory() 常用函数-get_stylesheet_directory() 说明 检索当前主题的样式表单目录路径。 用法 ... 最后更新 2022.03.26
常用函数-get_stylesheet_directory_uri() 常用函数-get_stylesheet_directory_uri() 常用函数-get_stylesheet_directory_uri() 说明 检索样式表单目录URI 用法 &... 最后更新 2022.03.26
常用函数-register_activation_hook() 常用函数-register_activation_hook() 常用函数-register_activation_hook() register_activation_hoo... 最后更新 2022.03.26
常用函数-get_stylesheet() 常用函数-get_stylesheet() 常用函数-get_stylesheet() 说明 检索当前样式表单的名称。 管理者设置的前端主题名称。 出于多... 最后更新 2022.03.26
常用函数-get_template() 常用函数-get_template() 常用函数-get_template() 说明 检索当前主题 名称 用法 <?php get_templa... 最后更新 2022.03.26
常用函数-get_locale_stylesheet_uri() 常用函数-get_locale_stylesheet_uri() 常用函数-get_locale_stylesheet_uri() 说明 检索本地样式表单URI。 默认情况下,... 最后更新 2022.03.26
常用函数-get_template_directory() 常用函数-get_template_directory() 常用函数-get_template_directory() 说明 检索当前主题目录 用法 <?php g... 最后更新 2022.03.26
常用函数-get_theme_data() 常用函数-get_theme_data() 常用函数-get_theme_data() 说明 返回关于主题文件信息的数组 用法 <?php $the... 最后更新 2022.03.26
常用函数-get_template_directory_uri() 常用函数-get_template_directory_uri() 常用函数-get_template_directory_uri() 说明 检索模板 目录URI 用法 <... 最后更新 2022.03.26
常用函数-get_theme() 常用函数-get_theme() 常用函数-get_theme() 说明 检索 主题 信息。 用法 <?php get_theme( $t... 最后更新 2022.03.26
常用函数-get_themes() 常用函数-get_themes() 常用函数-get_themes() 说明 在主题目录中检索含有主题数据的 主题列表。 若主题不具备父主题且丢失... 最后更新 2022.03.26
常用函数-get_current_theme() 常用函数-get_current_theme() 常用函数-get_current_theme() 说明 检索当前主题目录 用法 <?php get_te... 最后更新 2022.03.26
常用函数-get_theme_root() 常用函数-get_theme_root() 常用函数-get_theme_root() 说明 检索主题 目录的路径。 没有结尾斜线。 用法 <?ph... 最后更新 2022.03.26
常用函数-get_theme_root_uri() 常用函数-get_theme_root_uri() 常用函数-get_theme_root_uri() 说明 检索 主题 目录的URI。 没有结尾斜线。 用法 &... 最后更新 2022.03.26
常用函数-get_query_template() 常用函数-get_query_template() 常用函数-get_query_template() 说明 不用扩展名检索文件路径。 该函数可不检查文件扩展名而... 最后更新 2022.03.26