Merged in feature/314-dev-dev01 (pull request #24)
auto-patch 314-dev-dev01-2024-01-25T04_09_02 * auto-patch 314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
@@ -35,9 +35,8 @@ class Title_Presenter extends Abstract_Indexable_Tag_Presenter {
|
||||
/**
|
||||
* Filter: 'wpseo_opengraph_title' - Allow changing the Yoast SEO generated title.
|
||||
*
|
||||
* @param string $title The title.
|
||||
* @param Indexable_Presentation $presentation The presentation of an indexable.
|
||||
*
|
||||
* @api string $title The title.
|
||||
*/
|
||||
$title = (string) \trim( \apply_filters( 'wpseo_opengraph_title', $title, $this->presentation ) );
|
||||
return $this->helpers->string->strip_all_tags( $title );
|
||||
|
||||
Reference in New Issue
Block a user