EP_Config::get_host PHP Method

get_host() public method

Retrieve the appropriate host. Will default to EP_HOST constant if it exists
Since: 2.1
public get_host ( ) : string | boolean
return string | boolean
    public function get_host()
    {
        if (defined('EP_HOST') && EP_HOST) {
            $host = EP_HOST;
        } elseif (defined('EP_IS_NETWORK') && EP_IS_NETWORK) {
            $host = get_site_option('ep_host', false);
        } else {
            $host = get_option('ep_host', false);
        }
        return $host;
    }