set_title()

Set the new title of the page. Function will replace the title meta tag's content by the one specified by the $title argument.


set_title( string $title ) : void

Parameters

$title (string) (Required) Page title.

Return Values

No value is returned.

Examples

set_title('New page title');