public function show_deprecated_domain_setting($domain = null) { if (is_null($domain)) { $domain = $this->get_setting('domain'); } if (!in_array($domain, array('path', 'cloudfront'))) { return true; } return apply_filters('as3cf_show_deprecated_domain_setting', false); }