Checks if a site slug exists.


  • Full name: if_site_slug_exists
  • Defined in: cms/core/Shared/Helpers/db.php

Parameters

Parameter Type Description
$siteId string Site id to check against.
$slug string Slug to search for.

Return Value

bool

Returns true if site slug exists or false otherwise.