Skip to content

Instantly share code, notes, and snippets.

@heanfig
Last active August 30, 2017 20:20
Show Gist options
  • Save heanfig/d0ff31c710183299d7000d162ea83f19 to your computer and use it in GitHub Desktop.
Save heanfig/d0ff31c710183299d7000d162ea83f19 to your computer and use it in GitHub Desktop.
Remove separator
add_filter( 'document_title_separator', 'cyb_document_title_separator' );
function cyb_document_title_separator( $sep ) {
$sep = "-";
return $sep;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment