document_title_parts

document_title_parts

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('document_title_parts') is found 1 times:

  • /wp-includes/general-template.php line 1283
    	 *     @type string $tagline Optional. Site description when on home page.
    	 *     @type string $site    Optional. Site title when not on home page.
    	 * }
    	 */
    	$title = apply_filters( 'document_title_parts', $title );
    
    	$title = implode( " $sep ", array_filter( $title ) );
    
    	/**
    	 * Filters the document title.
    	 *
    

See this hook used in plugins: