PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.12
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.12
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Services / Libraries / action-scheduler / classes / actions / ActionScheduler_CanceledAction.php

ActionScheduler_CanceledAction.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.12, at app/Services/Libraries/action-scheduler/classes/actions/ActionScheduler_CanceledAction.php

26 lines 883 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_CanceledAction
5 *
6 * Stored action which was canceled and therefore acts like a finished action but should always return a null schedule,
7 * regardless of schedule passed to its constructor.
8 */
9 class ActionScheduler_CanceledAction extends ActionScheduler_FinishedAction {
10
11 /**
12 * Construct.
13 *
14 * @param string $hook Action's hook.
15 * @param array $args Action's arguments.
16 * @param null|ActionScheduler_Schedule $schedule Action's schedule.
17 * @param string $group Action's group.
18 */
19 public function __construct( $hook, array $args = array(), ?ActionScheduler_Schedule $schedule = null, $group = '' ) {
20 parent::__construct( $hook, $args, $schedule, $group );
21 if ( is_null( $schedule ) ) {
22 $this->set_schedule( new ActionScheduler_NullSchedule() );
23 }
24 }
25 }
26