Skip to content

trepmal.com

  • Home
  • Plugins
  • Github
  • Me on WP.org
  • Donate

Tag: private posts

Change Private Posts Prefix

If you’ve marked a post as “Private” it is automatically prefixed with “Private: ”

You may not like that. Here’s how you can change it:

add_filter('private_title_format', 'change_private_title_format');
function change_private_title_format() {
	return 'Top Secret: %s';
}
Posted on May 7, 2011March 1, 2012Categories WordPress BitsTags post title, private posts1 Comment on Change Private Posts Prefix
Proudly powered by WordPress