Documentation Functions vip-helper.php wpcom_vip_check_site_url()

wpcom_vip_check_site_url

Checks if the current site_url() matches from a specified list.

Parameters

Name Type Description

$site_urls

array or string

List of site URL hosts to check against

Return Value

bool: If current site_url() matches one in the list