WordPress at Your Fingertips
function is not described

ActionScheduler_Store::has_pending_actions_due() public WC 1.0

Check if there are any pending scheduled actions due to run.

{} It's a method of the class: ActionScheduler_Store{}

No Hooks.

Return

String.

Usage

$ActionScheduler_Store = new ActionScheduler_Store();
$ActionScheduler_Store->has_pending_actions_due();

Code of ActionScheduler_Store::has_pending_actions_due() WC 6.1.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 );
}