/home/techb158/dev.aleamaralawal.com/wp-content/plugins/polylang/src/install
Edit: /home/techb158/dev.aleamaralawal.com/wp-content/plugins/polylang/src/install/abstract-activable.php (1708B)
'ids', 'number' => 0 ) ) as $blog_id ) {
switch_to_blog( $blog_id );
static::process();
}
restore_current_blog();
} else {
// Single blog.
static::process();
}
}
/**
* Returns the plugin's basename.
*
* @since 3.8
*
* @return string
*/
public static function get_plugin_basename(): string {
return pll_get_constant( 'POLYLANG_BASENAME', '' );
}
/**
* Returns the plugin's version.
*
* @since 3.8
*
* @return string
*/
public static function get_plugin_version(): string {
return pll_get_constant( 'POLYLANG_VERSION', '' );
}
/**
* The process to run on plugin (de)activation.
*
* @since 0.5
* @since 3.8 Moved from the class `PLL_Install_Base`.
* Renamed from `_activate()`/`_deactivate()`.
* Made it `static` and `abstract`.
*
* @return void
*/
abstract protected static function process(): void;
}