is_plugin_inactive()
最后更新于:2021-11-27 09:55:23
is_plugin_inactive( string$plugin)Determines whether the plugin is inactive.
参数
- $plugin
-
(string) (Required) Path to the plugin file relative to the plugins directory.
响应
(bool) True if inactive. False if active.
源文件
文件: gc-admin/includes/plugin.php
function is_plugin_inactive( $plugin ) {
return ! is_plugin_active( $plugin );
}