UNCANNYCEUS_EARNSCEUS::maybe_allow_triggers_to_actionify( $run_automator_actions,  $REQUEST )


Source

File: src/integrations/uncanny-ceus/triggers/uncannyceus-earnsceus.php

	public function maybe_allow_triggers_to_actionify( $run_automator_actions, $REQUEST ) {

		if ( false === $run_automator_actions ) {

			$next_crons_jobs = wp_get_ready_cron_jobs();

			foreach ( $next_crons_jobs as $cron_job ) {
				if ( isset( $cron_job['uo_ceu_scheduled_learndash_course_completed'] ) ) {
					return true;
				}
			}
		}

		return $run_automator_actions;
	}