laipower/wp-content/plugins/wpscan/libraries/action-scheduler/classes/actions/ActionScheduler_NullAction.php

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