ActionScheduler_Store::has_pending_actions_due()
Check if there are any pending scheduled actions due to run.
Метод класса: ActionScheduler_Store{}
Хуков нет.
Возвращает
Строку
.
Использование
$ActionScheduler_Store = new ActionScheduler_Store(); $ActionScheduler_Store->has_pending_actions_due();
Код ActionScheduler_Store::has_pending_actions_due() ActionScheduler Store::has pending actions due WC 8.7.0
public function has_pending_actions_due() { $pending_actions = $this->query_actions( array( 'date' => as_get_datetime_object(), 'status' => ActionScheduler_Store::STATUS_PENDING, 'orderby' => 'none', ) ); return ! empty( $pending_actions ); }