Initial Commit
This commit is contained in:
16
dependencies/woocommerce/action-scheduler/classes/actions/ActionScheduler_NullAction.php
vendored
Normal file
16
dependencies/woocommerce/action-scheduler/classes/actions/ActionScheduler_NullAction.php
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<?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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user