PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
woocommerce
/
includes
/
libraries
/
action-scheduler
/
classes
<?php /** * Class ActionScheduler_Action */ class ActionScheduler_Action { protected $hook = ''; protected $args = array(); /** @var ActionScheduler_Schedule */ protected $schedule = NULL; protected $group = ''; public function __construct( $hook, array $args = array(), ActionScheduler_Schedule $schedule = NULL, $group = '' ) { $schedule = empty( $schedule ) ? new ActionScheduler_NullSchedule() : $schedule; $this->set_hook($hook); $this->set_schedule($schedule); $this->set_args($args); $this->set_group($group); } public function execute() { return do_action_ref_array($this->get_hook(), $this->get_args()); } /** * @param string $hook */ protected function set_hook( $hook ) { $this->hook = $hook; } public function get_hook() { return $this->hook; } protected function set_schedule( ActionScheduler_Schedule $schedule ) { $this->schedule = $schedule; } /** * @return ActionScheduler_Schedule */ public function get_schedule() { return $this->schedule; } protected function set_args( array $args ) { $this->args = $args; } public function get_args() { return $this->args; } /** * @param string $group */ protected function set_group( $group ) { $this->group = $group; } /** * @return string */ public function get_group() { return $this->group; } /** * @return bool If the action has been finished */ public function is_finished() { return FALSE; } }
[+]
..
[-] ActionScheduler_wpPostStore_PostStatusRegistrar.php
[edit]
[-] ActionScheduler_NullSchedule.php
[edit]
[-] ActionScheduler_wpPostStore_PostTypeRegistrar.php
[edit]
[-] ActionScheduler_ListTable.php
[edit]
[-] ActionScheduler_IntervalSchedule.php
[edit]
[-] ActionScheduler_DateTime.php
[edit]
[-] ActionScheduler_FinishedAction.php
[edit]
[-] ActionScheduler_Compatibility.php
[edit]
[-] ActionScheduler_wpPostStore.php
[edit]
[-] ActionScheduler.php
[edit]
[-] ActionScheduler_CanceledAction.php
[edit]
[-] ActionScheduler_NullLogEntry.php
[edit]
[-] ActionScheduler_Exception.php
[edit]
[-] ActionScheduler_QueueCleaner.php
[edit]
[-] ActionScheduler_AdminView.php
[edit]
[-] ActionScheduler_ActionClaim.php
[edit]
[-] ActionScheduler_NullAction.php
[edit]
[-] ActionScheduler_InvalidActionException.php
[edit]
[-] ActionScheduler_TimezoneHelper.php
[edit]
[-] ActionScheduler_wcSystemStatus.php
[edit]
[-] ActionScheduler_Store.php
[edit]
[-] ActionScheduler_Abstract_ListTable.php
[edit]
[-] ActionScheduler_WPCLI_QueueRunner.php
[edit]
[-] ActionScheduler_WPCLI_Scheduler_command.php
[edit]
[-] ActionScheduler_FatalErrorMonitor.php
[edit]
[-] ActionScheduler_ActionFactory.php
[edit]
[-] ActionScheduler_Logger.php
[edit]
[-] ActionScheduler_CronSchedule.php
[edit]
[-] ActionScheduler_QueueRunner.php
[edit]
[-] ActionScheduler_wpCommentLogger.php
[edit]
[-] ActionScheduler_LogEntry.php
[edit]
[-] ActionScheduler_Versions.php
[edit]
[-] ActionScheduler_Schedule.php
[edit]
[-] ActionScheduler_Abstract_QueueRunner.php
[edit]
[-] ActionScheduler_wpPostStore_TaxonomyRegistrar.php
[edit]
[-] ActionScheduler_SimpleSchedule.php
[edit]
[-] ActionScheduler_Action.php
[edit]