首页 WordPress函数大全 is_plugin_inactive()

is_plugin_inactive()

2020-05-02 / 3978阅 / 悠然

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

is_plugin_inactive( string $plugin )

Determines whether the plugin is inactive.

描述

Reverse of is_plugin_active(). Used as a callback.

For more information> Conditional Tags article in the Theme Developer Handbook.

See also See also

  • is_plugin_active()

Top ↑

参数

$plugin

(string)
(Required)
Path to the plugin file relative to the plugins directory.

返回

(bool) True if inactive. False if active.

大家谈论
    我的见解