Last active
February 27, 2017 09:59
-
-
Save evrpress/47e2ffe81023f2cb8e23 to your computer and use it in GitHub Desktop.
BMI Wrong Image Link Fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove_bmi_links($replace){ | |
$replace['1.1.1.1/bmi/'] = ''; | |
$replace['1.1.1.2/bmi/'] = ''; | |
$replace['1.1.1.3/bmi/'] = ''; | |
$replace['1.1.1.4/bmi/'] = ''; | |
$replace['1.1.1.5/bmi/'] = ''; | |
$replace['1.2.3.4/bmi/'] = ''; | |
$replace['1.2.3.9/bmi/'] = ''; | |
$replace['1.2.3.10/bmi/'] = ''; | |
$replace['1.2.3.11/bmi/'] = ''; | |
return $replace; | |
} | |
add_filter('mailster_get_template_replace', 'remove_bmi_links'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment