Yoast\WP\SEO\Helpers\Open_Graph

Values_Helper::get_open_graph_description()publicYoast 1.0

Filters the Open Graph description.

Метод класса: Values_Helper{}

Возвращает

Строку. The open graph description.

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

$Values_Helper = new Values_Helper();
$Values_Helper->get_open_graph_description( $description, $object_type, $object_subtype );
$description(строка) (обязательный)
The default description.
$object_type(строка) (обязательный)
The object type.
$object_subtype(строка) (обязательный)
The object subtype.

Код Values_Helper::get_open_graph_description() Yoast 22.3

public function get_open_graph_description( $description, $object_type, $object_subtype ) {
	/**
	 * Allow changing the Open Graph description.
	 *
	 * @param string $description    The default description.
	 * @param string $object_subtype The object subtype.
	 */
	return \apply_filters( 'Yoast\WP\SEO\open_graph_description_' . $object_type, $description, $object_subtype );
}