首页 WordPress函数大全 is_theme_paused()

is_theme_paused()

2020-05-02 / 3802阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

is_theme_paused( string $theme )

确定主题在技术上是否处于活动状态,但在加载时已暂停。

描述

有关更多信息,请参阅主题开发人员手册中的“条件标签”文章。

参数

$theme

(string)
(Required)
Path to the theme directory relative to the themes directory.

返回

(bool) True, if in the list of paused themes. False, not in the list.

大家谈论
    我的见解