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 |
single_activate() static
Fired for each blog when the plugin is activated.
Since: 2.0.0
Line: 89
static public function single_activate( );
single_deactivate() static
Fired for each blog when the plugin is deactivated.
Since: 4.2.0
Line: 126
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: 142
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: 164
static public function on_delete_blog( $tables );
| Type | Name | Description |
|---|---|---|
array | $tables | Tables in the blog. |