diff --git a/mercator-domain-replacements.php b/mercator-domain-replacements.php index 544c531..4aaf2ed 100644 --- a/mercator-domain-replacements.php +++ b/mercator-domain-replacements.php @@ -65,6 +65,10 @@ public function domain_mapping_replacements() { $this->translate_sites_url(); $this->translate_network_url(); + + // Allow third-party plugins to add custom domain replacements + $this->domains = apply_filters( 'mercator_domain_replacements_custom', $this->domains ); + if ( empty( $this->domains ) ) { return; }