function __construct($params, $wc_settings) { $this->params = PZ_Utils::filter_blacklist_params($params, PZ_Constants::blacklisted_params()); $this->secret_key = $wc_settings['secret_key']; }
function __construct($params) { $this->params = PZ_Utils::filter_blacklist_params($params, PZ_Constants::blacklisted_params()); }