wp_title_parts WordPress Filter Hook

The wp_title_parts hook is a great way to change the way your title appears on your website. This hook allows you to change the order of the title parts, as well as add and remove parts from the title. You can also use this hook to change the separator between the title parts.

apply_filters( 'wp_title_parts', string[] $title_array ) #

Filters the parts of the page title.


Parameters

$title_array

(string[])Array of parts of the page title.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More