Recent

Activatorclass

Activator

Activator class

Namespace: WebberZone\Better_Search\Admin
Since: 3.3.0
Source: includes/admin/class-activator.php line 22

Methods

__construct()

Constructor class.

Since: 3.3.0
Line: 45

public function __construct(  );

activation_hook() static

Fired when the plugin is Network Activated.

Since: 1.9.10.1
Line: 60

static public function activation_hook( $network_wide );
Type Name Description
boolean $network_wide True if WPMU superadmin uses

deactivation_hook() static

Fired when the plugin is deactivated.

Since: 4.4.3
Line: 92

static public function deactivation_hook(  );

single_activate() static

Fired for each blog when the plugin is activated.

Since: 2.0.0
Line: 106

static public function single_activate(  );

single_deactivate() static

Fired for each blog when the plugin is deactivated.

Since: 4.2.0
Line: 143

static public function single_deactivate(  );

activate_new_site() static

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

Since: 2.0.0
Line: 159

static public function activate_new_site( $blog );
Type Name Description
int|\WP_Site $blog WordPress 5.1 passes a WP_Site object.

on_delete_blog() static

Fired when a site is deleted in a WPMU environment.

Since: 2.0.0
Line: 182

static public function on_delete_blog( $tables );
Type Name Description
array $tables Tables in the blog.