Automattic\WooCommerce\Internal\Utilities
PluginInstaller::register
Attach hooks used by the class.
Метод класса: PluginInstaller{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$PluginInstaller = new PluginInstaller(); $PluginInstaller->register();
Код PluginInstaller::register() PluginInstaller::register WC 10.7.0
public function register() {
add_action( 'after_plugin_row', array( $this, 'handle_plugin_list_rows' ), 10, 2 );
add_action( 'upgrader_process_complete', array( $this, 'handle_upgrader_process_complete' ), 10, 2 );
}