Automattic\WooCommerce\Internal\Admin

Events::do_wc_admin_daily()publicWC 1.0

Daily events to run.

Note: Order_Milestones::other_milestones is hooked to this as well.

{} Это метод класса: Events{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$Events = new Events();
$Events->do_wc_admin_daily();

Код Events::do_wc_admin_daily() WC 6.4.1

public function do_wc_admin_daily() {
	$this->possibly_add_notes();
	$this->possibly_delete_notes();

	if ( $this->is_remote_inbox_notifications_enabled() ) {
		DataSourcePoller::get_instance()->read_specs_from_data_sources();
		RemoteInboxNotificationsEngine::run();
	}

	if ( $this->is_merchant_email_notifications_enabled() ) {
		MerchantEmailNotifications::run();
	}

	if ( Features::is_enabled( 'onboarding' ) ) {
		( new MailchimpScheduler() )->run();
	}
}