Yoast\WP\SEO\Helpers\Open_Graph
Values_Helper::get_open_graph_title()
Filters the Open Graph title.
Метод класса: Values_Helper{}
Хуки из метода
Возвращает
Строку
. The open graph title.
Использование
$Values_Helper = new Values_Helper(); $Values_Helper->get_open_graph_title( $title, $object_type, $object_subtype );
- $title(строка) (обязательный)
- The default title.
- $object_type(строка) (обязательный)
- The object type.
- $object_subtype(строка) (обязательный)
- The object subtype.
Код Values_Helper::get_open_graph_title() Values Helper::get open graph title Yoast 24.4
public function get_open_graph_title( $title, $object_type, $object_subtype ) { /** * Allow changing the Open Graph title. * * @param string $title The default title. * @param string $object_subtype The object subtype. */ return \apply_filters( 'Yoast\WP\SEO\open_graph_title_' . $object_type, $title, $object_subtype ); }