Last active
July 24, 2022 00:28
-
-
Save SitesByYogi/986ac2942081be0858d31bcba53c90b5 to your computer and use it in GitHub Desktop.
Replace terms and phrases
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
<?php | |
// Filter hook | |
add_filter('the_content',array('sby2_fix_wordpress','fix_spelling')); | |
class sby2_fix_wordpress | |
{ | |
function fix_spelling($content) | |
{ | |
$content= str_replace('joint','JOINT',$content); | |
return "$content"; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment