ActionScheduler_NullAction::__construct
Construct.
Метод класса: ActionScheduler_NullAction{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ActionScheduler_NullAction = new ActionScheduler_NullAction(); $ActionScheduler_NullAction->__construct( $hook, $args, ?ActionScheduler_Schedule $schedule );
- $hook(строка)
- Action hook.
По умолчанию:'' - $args(mixed[])
- Action arguments.
По умолчанию:array() - ?ActionScheduler_Schedule $schedule
- .
По умолчанию:null
Код ActionScheduler_NullAction::__construct() ActionScheduler NullAction:: construct WC 11.3.0
public function __construct( $hook = '', array $args = array(), ?ActionScheduler_Schedule $schedule = null ) {
$this->set_schedule( new ActionScheduler_NullSchedule() );
}