surecart
/
vendor
/
woocommerce
/
action-scheduler
/
classes
/
actions
/
ActionScheduler_NullAction.php
ActionScheduler_Action.php
3 years ago
ActionScheduler_CanceledAction.php
3 years ago
ActionScheduler_FinishedAction.php
3 years ago
ActionScheduler_NullAction.php
3 years ago
ActionScheduler_NullAction.php
16 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Class ActionScheduler_NullAction |
| 5 | */ |
| 6 | class ActionScheduler_NullAction extends ActionScheduler_Action { |
| 7 | |
| 8 | public function __construct( $hook = '', array $args = array(), ActionScheduler_Schedule $schedule = NULL ) { |
| 9 | $this->set_schedule( new ActionScheduler_NullSchedule() ); |
| 10 | } |
| 11 | |
| 12 | public function execute() { |
| 13 | // don't execute |
| 14 | } |
| 15 | } |
| 16 |