woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_NullAction.php
2021-12-10 12:03:04 +00:00

16 lines
348 B
PHP

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