Automattic\WooCommerce\Internal\Admin
Events::do_wc_admin_daily()
Daily events to run.
Note: Order_Milestones::possibly_add_note is hooked to this as well.
Method of the class: Events{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Events = new Events(); $Events->do_wc_admin_daily();
Events::do_wc_admin_daily() Events::do wc admin daily code WC 9.6.1
public function do_wc_admin_daily() { $this->possibly_add_notes(); $this->possibly_delete_notes(); $this->possibly_update_notes(); $this->possibly_refresh_data_source_pollers(); if ( $this->is_remote_inbox_notifications_enabled() ) { RemoteInboxNotificationsDataSourcePoller::get_instance()->read_specs_from_data_sources(); RemoteInboxNotificationsEngine::run(); } if ( $this->is_merchant_email_notifications_enabled() ) { MerchantEmailNotifications::run(); } if ( Features::is_enabled( 'core-profiler' ) ) { ( new MailchimpScheduler() )->run(); } }