pre_get_document_title

pre_get_document_title

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('pre_get_document_title') is found 1 times:

  • /wp-includes/general-template.php line 1188
    	 * @since 4.4.0
    	 *
    	 * @param string $title The document title. Default empty string.
    	 */
    	$title = apply_filters( 'pre_get_document_title', '' );
    	if ( ! empty( $title ) ) {
    		return $title;
    	}
    
    	global $page, $paged;
    
    

See this hook used in plugins: