Filter post title

If you know that you will want to apply a filter to all of your post titles in WordPress, such as forcing uppercase, lowercase, or title capitalization, you can use a filter to do so. This filter will force a title to lowercase as the post is saved.

On line 8, `strtolower()` can be exchanged for any text-transforming function.

Leave a Reply