Warning: This class has been deprecated.

A_Cron_Exceptions

Class Cron_Exceptions


Source Source

File: src/core/classes/class-a-cron-exceptions.php

class A_Cron_Exceptions {
	/**
	 * Cron_Exceptions constructor.
	 */
	public function __construct() {
		// add_filter( 'uap_cron_action_exception', [ $this, 'add_cron_exception' ] );
	}

	/**
	 * @param $exceptions
	 *
	 * @return mixed
	 */
	public function add_cron_exception( $exceptions ) {
//		if ( ! in_array( 'pmpro_cron_expire_memberships', $exceptions ) ) {
//			$exceptions[] = 'pmpro_cron_expire_memberships';
//		}
//
//		return $exceptions;
	}
}

Methods Methods


Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.