How to Replace Words from Title
-
Hello,
How can i modify the code to replace the words in my title with something or nothing.
This code could achieve it:
$postTitle = str_replace( 'Blalbhalb', 'nothing', $postTitle );
But i can’t figure out in which part and line should i place it that it does the job and not break the site too.
Regards.
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘How to Replace Words from Title’ is closed to new replies.