This method is suited to be used after site duplication, because both sites are assumed to have the exact same
content IDs.
public duplicate_relations ( integer $source_site_id, integer $destination_site_id, string $type = '' ) : integer | ||
$source_site_id | integer | Source site ID. |
$destination_site_id | integer | Destination site ID. |
$type | string | Optional. Content type. Defaults to empty string. |
Résultat | integer | The number of relations duplicated. |