How to change the case of all post titles to “Title Case”

Question

I am helping my father with his WordPress website.
It has over 1,700 posts with TITLES IN UPPERCASE.

We’d like to change these to “Title Case” in the database (possibly using this PHP script).

The WordPress “To Title Case” plug-in changes the case at the template level – we’d like to change it at the database level.

What would be the best way to apply the script to all titles in the WordPress database?
I could write some code from scratch but I’m guessing there’s existing code/methods out there that can apply a function/method across all titles.

0
BaronGrivet 4 months 0 Answers 13 views 0

Leave an answer