Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
//* Customize protected posts prefix in WordPress
function prefix_customize_protected_posts_prefix() {
return 'Family Only: %s';
}
add_filter('protected_title_format', 'prefix_customize_protected_posts_prefix');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.