public function __construct($attr = array(), $content = array()) { parent::__construct(); $this->verification = $this->getVerification(); $this->data = $this->getUserData(); $this->fileExists = $this->file_exists(); $this->attr = $attr; $this->content = $content; $this->buttonText = $this->getButtonText(); }
public function __construct($params) { parent::__construct(); if (empty($params) || !is_array($params)) { throw new Exception("Invalid data!"); } $this->data = $params; $this->ver = $this->ver(); $this->download_id = $this->download_id(); }
public function __construct($params) { parent::__construct(); if (empty($params) || !is_array($params)) { throw new Exception("Invalid data!"); } $this->data = $params; $this->download_id = $this->getDownloadID(); $this->name = $this->getName(); $this->email = $this->getEmail(); $this->duplicate_email = $this->getIsDuplicateEmail(); }
public function __construct($attr = array(), $content = array(), $msg = null) { parent::__construct(); $this->attr = $attr; $this->download_id = $this->getDownloadID(); $this->data = $this->getDownloadInfo(); $this->fileExists = $this->file_exists(); $this->promoLink = $this->getPromoLink(); $this->headerText = $this->getHeaderText(); $this->buttonText = $this->getButtonText(); $this->nonce = wp_create_nonce('doifd-subscriber-registration-nonce'); $this->privacyPolicy = $this->getPrivacyPolicy(); $this->msg = $msg; }
public function __construct() { parent::__construct(); add_action('wp_head', array($this, 'add_css_to_head')); }
public function __construct() { parent::__construct(); add_action('admin_init', array($this, 'doifd_admin_resend_verification_email')); }
public function __construct() { parent::__construct(); }