ActionScheduler_NullAction{}WC 1.0

Class ActionScheduler_NullAction

Хуков нет.

Использование

$ActionScheduler_NullAction = new ActionScheduler_NullAction();
// use class methods

Методы

  1. public __construct( $hook = '', array $args = array(), ActionScheduler_Schedule $schedule = NULL )
  2. public execute()

Код ActionScheduler_NullAction{} WC 6.9.4

class ActionScheduler_NullAction extends ActionScheduler_Action {

	public function __construct( $hook = '', array $args = array(), ActionScheduler_Schedule $schedule = NULL ) {
		$this->set_schedule( new ActionScheduler_NullSchedule() );
	}

	public function execute() {
		// don't execute
	}
}