Recent

Activator class

Activator

Activator class

Namespace: WebberZone\Contextual_Related_Posts\Admin
Since: 3.5.0
Source: includes/admin/class-activator.php line 19

Methods

__construct()

Constructor class.

Since: 3.5.0
Line: 26

public function __construct(  );

activation_hook() static

Fired when the plugin is Network Activated.

Since: 3.5.0
Line: 41

static public function activation_hook( $network_wide );
TypeNameDescription
boolean$network_wideTrue if WPMU superadmin uses

single_activate() static

Fired for each blog when the plugin is activated.

Since: 3.5.0
Line: 70

static public function single_activate(  );

activate_new_site() static

Fired when a new site is activated with a WPMU environment.

Since: 3.5.0
Line: 108

static public function activate_new_site( $blog );
TypeNameDescription
int|\WP_Site$blogWordPress 5.1 passes a WP_Site object.

deactivation_hook() static

Fired when the plugin is deactivated.

Since: 3.5.0
Line: 133

static public function deactivation_hook( $network_wide );
TypeNameDescription
boolean$network_wideTrue if WPMU superadmin uses

single_deactivate() static

Fired for each blog when the plugin is deactivated.

Since: 3.5.0
Line: 164

static public function single_deactivate(  );

update_db_check() static

Function to call install function if needed.

Since: 3.5.0
Line: 178

static public function update_db_check(  );