/** * 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); }
/** * Initiate new background process * * @param object $as3cf Instance of calling class */ public function __construct($as3cf) { parent::__construct($as3cf); add_action($this->identifier . '_cron', array($this, 'handle_cron_healthcheck')); add_filter('cron_schedules', array($this, 'schedule_cron_healthcheck')); }