Automattic\WooCommerce\Internal\Admin\Notes
ScheduledUpdatesPromotion::__construct
Constructor - attach action hooks.
Метод класса: ScheduledUpdatesPromotion{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ScheduledUpdatesPromotion = new ScheduledUpdatesPromotion(); $ScheduledUpdatesPromotion->__construct();
Код ScheduledUpdatesPromotion::__construct() ScheduledUpdatesPromotion:: construct WC 10.5.2
public function __construct() {
add_action( 'woocommerce_note_action_scheduled-updates-enable', array( $this, 'enable_scheduled_updates' ) );
}