ActionScheduler_CanceledAction::__construct()
Method of the class: ActionScheduler_CanceledAction{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_CanceledAction = new ActionScheduler_CanceledAction(); $ActionScheduler_CanceledAction->__construct( $hook, $args, $schedule, $group );
- $hook(string) (required)
- -
- $args(array)
- -
Default: array() - $schedule(ActionScheduler_Schedule)
- -
Default: null - $group(string)
- -
Default: ''
ActionScheduler_CanceledAction::__construct() ActionScheduler CanceledAction:: construct code WC 8.6.1
public function __construct( $hook, array $args = array(), ActionScheduler_Schedule $schedule = null, $group = '' ) { parent::__construct( $hook, $args, $schedule, $group ); if ( is_null( $schedule ) ) { $this->set_schedule( new ActionScheduler_NullSchedule() ); } }