woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_NullAction.php

16 lines
348 B
PHP
Raw Normal View History

2021-12-10 12:03:04 +00:00
<?php
/**
* Class ActionScheduler_NullAction
*/
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
}
}