Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mcgregormedia/eeb9c51de58d4e568bc0 to your computer and use it in GitHub Desktop.
Save mcgregormedia/eeb9c51de58d4e568bc0 to your computer and use it in GitHub Desktop.
function title_format( $content ) {
return '%s';
}
add_filter( 'private_title_format', 'title_format' );
add_filter( 'protected_title_format', 'title_format' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment