public function __construct($args = array()) { $defaults = array('type' => 'web', 'url' => '', 'theme' => '', 'nonce' => '', 'title' => ''); $args = wp_parse_args($args, $defaults); $this->type = $args['type']; $this->api = isset($args['api']) ? $args['api'] : array(); parent::__construct($args); }
function __construct($envato_theme_updater) { parent::__construct(); $this->envato_theme_updater = $envato_theme_updater; }
function __construct($args = array()) { parent::__construct($args); }