Checks whether the given site exists.


  • Full name: if_site_exists
  • Defined in: cms/core/Shared/Helpers/site.php

Parameters

Parameter Type Description
$siteDomain string Site domain to check against.
$sitePath string Site path to check against.

Return Value

bool

If site exists, return true otherwise return false.