Automattic\WooCommerce\Internal\Admin\Notes

InstallJPAndWCSPlugins::__construct()publicWC 1.0

Constructor.

Method of the class: InstallJPAndWCSPlugins{}

No Hooks.

Return

null. Nothing (null).

Usage

$InstallJPAndWCSPlugins = new InstallJPAndWCSPlugins();
$InstallJPAndWCSPlugins->__construct();

InstallJPAndWCSPlugins::__construct() code WC 8.7.0

public function __construct() {
	add_action( 'woocommerce_note_action_install-jp-and-wcs-plugins', array( $this, 'install_jp_and_wcs_plugins' ) );
	add_action( 'activated_plugin', array( $this, 'action_note' ) );
	add_action( 'woocommerce_plugins_install_api_error', array( $this, 'on_install_error' ) );
	add_action( 'woocommerce_plugins_install_error', array( $this, 'on_install_error' ) );
	add_action( 'woocommerce_plugins_activate_error', array( $this, 'on_install_error' ) );
}