activate_sitewide_plugin

Deprecated functionality for activating a network-only plugin.

Description

activate_sitewide_plugin(); 

Usage

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

Defined (1)

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

/wp-admin/includes/ms-deprecated.php  
  1. function activate_sitewide_plugin() { 
  2. _deprecated_function(__FUNCTION__, '3.0', 'activate_plugin()' ); 
  3. return false;