Merge commit '797bc2fd9811f86077e1aa3edd68593ab9dd5956' as 'includes/lib/action-scheduler'

This commit is contained in:
Yurii Nalivaiko
2024-09-03 12:28:53 +02:00
160 changed files with 29030 additions and 0 deletions
@@ -0,0 +1,25 @@
<?php
/**
* Class ActionScheduler_NullAction
*/
class ActionScheduler_NullAction extends ActionScheduler_Action {
/**
* Construct.
*
* @param string $hook Action hook.
* @param mixed[] $args Action arguments.
* @param null|ActionScheduler_Schedule $schedule Action schedule.
*/
public function __construct( $hook = '', array $args = array(), ActionScheduler_Schedule $schedule = NULL ) {
$this->set_schedule( new ActionScheduler_NullSchedule() );
}
/**
* Execute action.
*/
public function execute() {
// don't execute.
}
}