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.
Returns
null. Nothing (null).
Usage
$Events = new Events(); $Events->do_wc_admin_daily();
Events::do_wc_admin_daily() Events::do wc admin daily code WC 10.6.2
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 ( Features::is_enabled( 'core-profiler' ) ) {
( new MailchimpScheduler() )->run();
}
}