PluginProbe
WANotifier for Forms and Actions / 3.2.0
WANotifier for Forms and Actions v3.2.0
3.2.0 3.1.1 3.1.0 3.0.4 2.7.10 2.7.11 2.7.12 2.7.13 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 3.0.0 3.0.1 3.0.2 3.0.3 trunk 0.1.0 0.1.1 1.0.0 1.0.1 All 68 releases
notifier / libraries / action-scheduler / classes / actions / ActionScheduler_NullAction.php

ActionScheduler_NullAction.php in WANotifier for Forms and Actions 3.2.0, at libraries/action-scheduler/classes/actions/ActionScheduler_NullAction.php

26 lines 601 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class ActionScheduler_NullAction
5 */
6 class ActionScheduler_NullAction extends ActionScheduler_Action {
7
8 /**
9 * Construct.
10 *
11 * @param string $hook Action hook.
12 * @param mixed[] $args Action arguments.
13 * @param null|ActionScheduler_Schedule $schedule Action schedule.
14 */
15 public function __construct( $hook = '', array $args = array(), ?ActionScheduler_Schedule $schedule = null ) {
16 $this->set_schedule( new ActionScheduler_NullSchedule() );
17 }
18
19 /**
20 * Execute action.
21 */
22 public function execute() {
23 // don't execute.
24 }
25 }
26