Automattic\WooCommerce\Internal\Admin\Notes
ScheduledUpdatesPromotion::__construct
Constructor - attach action hooks.
Method of the class: ScheduledUpdatesPromotion{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ScheduledUpdatesPromotion = new ScheduledUpdatesPromotion(); $ScheduledUpdatesPromotion->__construct();
ScheduledUpdatesPromotion::__construct() ScheduledUpdatesPromotion:: construct code WC 10.8.1
public function __construct() {
add_action( 'woocommerce_note_action_scheduled-updates-enable', array( $this, 'enable_scheduled_updates' ) );
}