Skip to content

Instantly share code, notes, and snippets.

@md-shamir
Last active June 9, 2019 18:18
Show Gist options
  • Save md-shamir/bda2bc736ff4899414ce17e10c38779a to your computer and use it in GitHub Desktop.
Save md-shamir/bda2bc736ff4899414ce17e10c38779a to your computer and use it in GitHub Desktop.
the_title
add_filter('the_title', function($post_title){
$title = ucwords($post_title);
return $title;});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment