Hooks::filter_wp_title( string $title, string|null $sep = null )
Filters the wp_title
template tag.
Contents
Parameters
- $title
-
(string) (Required) The current title value.
- $sep
-
(string|null) (Optional) The separator char, or sequence, to use to separate the page title from the blog one.
Default value: null
Return
(string) The modified page title, if required.
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_wp_title( $title, $sep = null ) { return $this->container->make( Title::class )->filter_wp_title( $title, $sep ); }
Changelog
Version | Description |
---|---|
4.9.10 | Introduced. |