AP_Activate::get_instance( string|boolean $network_wide = '' )
Description #
Return an instance of this class.
Parameters #
- $network_widestring | boolean (Optional) Activate plugin network wide. Default value: ''
Source #
File: activate.php
public static function get_instance( $network_wide = '' ) { // If the single instance hasn't been set, set it now. if ( null === self::$instance ) { anspress(); self::$instance = new self(); $GLOBALS['network_wide'] = $network_wide; } return self::$instance; }
Expand full source code Collapse full source code View on GitHub: activate.php:54
Add your comment