AP_Activate::__construct()
Description #
Construct class.
Source #
File: activate.php
public function __construct() { global $network_wide; $this->network_wide = $network_wide; $this->delete_options(); // Append table names in $wpdb. ap_append_table_names(); if ( $this->network_wide ) { $this->network_activate(); } else { $this->activate(); } // Enable/Disable addon. $this->enable_addons(); $this->reactivate_addons(); // Migrate old datas. $this->migrate(); }
Expand full source code Collapse full source code View on GitHub: activate.php:69
Add your comment