首页 WordPress函数大全 is_network_only_plugin()

is_network_only_plugin()

2020-05-02 / 4209阅 / 悠然

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

is_network_only_plugin( string $plugin )

Checks for “Network: true” in the plugin header to see if this should be activated>

Contents

  • Description
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Uses
    • Used By
  • User Contributed Notes

描述

Checks for "Site Wide>

参数

$plugin

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

返回

(bool) True if plugin is network only, false otherwise.

大家谈论
    我的见解