WordPress at a glance
class is not described

ActionScheduler_NullAction{} WC 1.0

Class ActionScheduler_NullAction

No Hooks.

Return

null. Nothing.

Usage

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

Methods

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

Code of ActionScheduler_NullAction{} WC 5.3.0

<?php
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
	}
}