Skip to content

Commit 0a1232e

Browse files
add-custom-filter : as in the branch name
1 parent 44bd186 commit 0a1232e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mercator-domain-replacements.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public function domain_mapping_replacements() {
6565

6666
$this->translate_sites_url();
6767
$this->translate_network_url();
68+
69+
// Allow third-party plugins to add custom domain replacements
70+
$this->domains = apply_filters( 'mercator_domain_replacements_custom', $this->domains );
71+
6872
if ( empty( $this->domains ) ) {
6973
return;
7074
}

0 commit comments

Comments
 (0)