Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd
/
wp-content
/
plugins
/
woocommerce
/
packages
/
action-scheduler
/
classes
/
actions
/
File Content:
ActionScheduler_CanceledAction.php
<?php /** * Class ActionScheduler_CanceledAction * * Stored action which was canceled and therefore acts like a finished action but should always return a null schedule, * regardless of schedule passed to its constructor. */ class ActionScheduler_CanceledAction extends ActionScheduler_FinishedAction { /** * Construct. * * @param string $hook Action's hook. * @param array $args Action's arguments. * @param null|ActionScheduler_Schedule $schedule Action's schedule. * @param string $group Action's group. */ public function __construct( $hook, array $args = array(), ?ActionScheduler_Schedule $schedule = null, $group = '' ) { parent::__construct( $hook, $args, $schedule, $group ); if ( is_null( $schedule ) ) { $this->set_schedule( new ActionScheduler_NullSchedule() ); } } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
ActionScheduler_Action.php
3907 bytes
0644
ActionScheduler_CanceledAction.php
883 bytes
0644
ActionScheduler_FinishedAction.php
296 bytes
0644
ActionScheduler_NullAction.php
601 bytes
0644
N4ST4R_ID | Naxtarrr