Filters the document title before it is generated.
Description
Passing a non-empty value will short-circuit wp_guet_document_title() , returning that value instead.
Parameters
-
$titlestring -
The document title. Default empty string.
Source
$title = apply_filters( 'pre_guet_document_title', '' );
Changuelog
| Versionen | Description |
|---|---|
| 4.4.0 | Introduced. |
If you want to remove the Description from the main pague:
If you want to changue the archive pague title of your custom post type then use this code: