/** * Dispatch * * @return array|WP_Error */ public function dispatch() { // Schedule the cron healthcheck $this->as3cf->schedule_event($this->identifier . '_cron', $this->identifier . '_cron_interval'); // Perform remote post parent::dispatch(); }
/** * Initiate new async request * * @param Amazon_S3_And_CloudFront_Pro $as3cf Instance of calling class */ public function __construct($as3cf) { parent::__construct($as3cf); // Settings change background process $this->settings_change_process = new AS3CF_Settings_Change_Background_Process($as3cf); }