WordPress at a glance
filter is not described

document_title_separator filter-hook . WP 4.4.0

Filters the separator for the document title.

Usage

add_filter( 'document_title_separator', 'filter_function_name_3089' );
function filter_function_name_3089( $sep ){
	// filter...

	return $sep;
}
$sep(string)
Document title separator.
Default: '-'

Changelog

Since 4.4.0 Introduced.

Where the hook is called

wp_get_document_title()
document_title_separator
wp-includes/general-template.php 1120
$sep = apply_filters( 'document_title_separator', '-' );

Where in WP core the hook is used

Usage not found!