EP_Config::host_by_option PHP Method

host_by_option() public method

Determine if host is set in options rather than a constant
Since: 2.1
public host_by_option ( ) : boolean
return boolean
    public function host_by_option()
    {
        if (defined('EP_IS_NETWORK') && EP_IS_NETWORK) {
            $host = get_site_option('ep_host', false);
        } else {
            $host = get_option('ep_host', false);
        }
        return !empty($host);
    }