Automattic\WooCommerce\Internal\Admin\Notes
InstallJPAndWCSPlugins::__construct()
Constructor.
Method of the class: InstallJPAndWCSPlugins{}
No Hooks.
Return
null
. Nothing (null).
Usage
$InstallJPAndWCSPlugins = new InstallJPAndWCSPlugins(); $InstallJPAndWCSPlugins->__construct();
InstallJPAndWCSPlugins::__construct() InstallJPAndWCSPlugins:: construct code WC 9.5.1
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' ) ); }