Archives

Change Protected Posts Prefix

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

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

add_filter('protected_title_format', 'change_protected_title_format');
function change_protected_title_format() {
	return 'Members Only: %s';
}

*If this seems oddly familiar, check out yesterday’s post.

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';
}