is_network_only_plugin [ WordPress Function ]
is_network_only_plugin ( $plugin )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: is_network_admin, wp_get_active_network_plugins, network_home_url, is_uninstallable_plugin, wp_get_mu_plugins
Checks for "Network: true" in the plugin header to see if this should be activated only as a network wide plugin. The plugin would also work when Multisite is not enabled.
Checks for "Site Wide Only: true" for backwards compatibility.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Docs for page plugin.php
is_network_only_plugin (line 484). Checks for "Network: true" in the plugin header to see if this should be activated only as a network wide plugin. The plugin ...
phpdoc.wordpress.org - activate_plugin (WordPress Function) - WPSeek.com
if ( is_multisite() && ( $network_wide || is_network_only_plugin($plugin) ) ) { $ network_wide = true; $current = get_site_option( 'active_sitewide_plugins', array( ) ) ...
wpseek.com - PHPXRef 0.7 : WordPress : Detail view of plugin.php
is_plugin_active_for_network() is_network_only_plugin() activate_plugin() deactivate_plugins() activate_plugins() delete_plugins() validate_active_plugins( ) ...
phpxref.ftwr.co.uk - activate_plugin | A HitchHackers guide through WordPress
Feb 11, 2011... ( $network_wide || is_network_only_plugin($plugin) ) ) { $network_wide = true; $current = get_site_option( 'active_sitewide_plugins', array() ) ...
hitchhackerguide.com