wp_title_parts

wp_title_parts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_title_parts') is found 1 times:

  • /wp-includes/general-template.php line 1425
    	 * @since 4.0.0
    	 *
    	 * @param string[] $title_array Array of parts of the page title.
    	 */
    	$title_array = apply_filters( 'wp_title_parts', explode( $t_sep, $title ) );
    
    	// Determines position of the separator and direction of the breadcrumb.
    	if ( 'right' === $seplocation ) { // Separator on right, so reverse the order.
    		$title_array = array_reverse( $title_array );
    		$title       = implode( " $sep ", $title_array ) . $prefix;
    	} else {