public get_related_site_ids ( integer $site_id, boolean $include_site = false ) : int[] | ||
$site_id | integer | Optional. Site ID. Defaults to 0. |
$include_site | boolean | Optional. Whether or not to include the given site ID. Defaults to false. |
return | int[] | The array holding the IDs of all sites related to the site with the given (or current) ID. |