Yoast\WP\SEO\open_graph_title_(object_type) хук-фильтрYoast 1.0

Allow changing the Open Graph title.

Использование

add_filter( 'Yoast\WP\SEO\open_graph_title_(object_type)', 'wp_kama_Yoast\WP\SEO\open_graph_title_object_type_filter', 10, 2 );

/**
 * Function for `Yoast\WP\SEO\open_graph_title_(object_type)` filter-hook.
 * 
 * @param string $title          The default title.
 * @param string $object_subtype The object subtype.
 *
 * @return string
 */
function wp_kama_Yoast\WP\SEO\open_graph_title_object_type_filter( $title, $object_subtype ){

	// filter...
	return $title;
}
$title(строка)
The default title.
$object_subtype(строка)
The object subtype.

Где вызывается хук

Values_Helper::get_open_graph_title()
Yoast\WP\SEO\open_graph_title_(object_type)
yoast/src/helpers/open-graph/values-helper.php 26
return \apply_filters( 'Yoast\WP\SEO\open_graph_title_' . $object_type, $title, $object_subtype );

Где используется хук в Yoast SEO

Использование не найдено.