PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/presenters/open-graph/title-presenter.php +3 -3 18.9 → trunk View file →
@@ -30,15 +30,15 @@
30 30 * @return string The filtered title.
31 31 */
32 32 public function get() {
33 33 $title = $this->replace_vars( $this->presentation->open_graph_title );
34 +
34 35 /**
35 36 * Filter: 'wpseo_opengraph_title' - Allow changing the Yoast SEO generated title.
36 37 *
38 + * @param string $title The title.
37 39 * @param Indexable_Presentation $presentation The presentation of an indexable.
38 - *
39 - * @api string $title The title.
40 40 */
41 - $title = (string) \trim( \apply_filters( 'wpseo_opengraph_title', $title, $this->presentation ) );
41 + $title = \trim( (string) \apply_filters( 'wpseo_opengraph_title', $title, $this->presentation ) );
42 42 return $this->helpers->string->strip_all_tags( $title );
43 43 }
44 44 }