Automattic\WooCommerce\Internal\Admin\Notes
WooSubscriptionsNotes::__construct()
Hook all the things.
Method of the class: WooSubscriptionsNotes{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WooSubscriptionsNotes = new WooSubscriptionsNotes(); $WooSubscriptionsNotes->__construct();
WooSubscriptionsNotes::__construct() WooSubscriptionsNotes:: construct code WC 9.5.1
public function __construct() { add_action( 'admin_head', array( $this, 'admin_head' ) ); add_action( 'update_option_woocommerce_helper_data', array( $this, 'update_option_woocommerce_helper_data' ), 10, 2 ); }