WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
класс не описан

ActionScheduler_NullAction() WC 1.0

Class ActionScheduler_NullAction

Хуков нет.

Возвращает

Null. Ничего.

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

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

Методы

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

Код ActionScheduler NullAction: woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_NullAction.php WC 4.3.1

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