is_wpmu_sitewide_plugin

Deprecated functionality for determining if the current plugin is network-only.

Description

is_wpmu_sitewide_plugin( $file ); 

Parameters (1)

0. $file
The file.

Usage

  1. if ( !function_exists( 'is_wpmu_sitewide_plugin' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/ms-deprecated.php'; 
  3.  
  4. // The file. 
  5. $file = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = is_wpmu_sitewide_plugin($file); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/ms-deprecated.php  
  1. function is_wpmu_sitewide_plugin( $file ) { 
  2. _deprecated_function(__FUNCTION__, '3.0.0', 'is_network_only_plugin()' ); 
  3. return is_network_only_plugin( $file );