WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WPSEO_Post_Metabox_Formatter::get_values() public Yoast 1.0

Returns the translated values.

{} Это метод класса: WPSEO_Post_Metabox_Formatter{}

Хуков нет.

Возвращает

Массив.

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

$WPSEO_Post_Metabox_Formatter = new WPSEO_Post_Metabox_Formatter();
$WPSEO_Post_Metabox_Formatter->get_values();

Код WPSEO_Post_Metabox_Formatter::get_values() Yoast 17.3

public function get_values() {
	$values = [
		'search_url'          => $this->search_url(),
		'post_edit_url'       => $this->edit_url(),
		'base_url'            => $this->base_url_for_js(),
		'metaDescriptionDate' => '',

	];

	if ( $this->post instanceof WP_Post ) {
		$values_to_set = [
			'keyword_usage'               => $this->get_focus_keyword_usage(),
			'title_template'              => $this->get_title_template(),
			'title_template_no_fallback'  => $this->get_title_template( false ),
			'metadesc_template'           => $this->get_metadesc_template(),
			'metaDescriptionDate'         => $this->get_metadesc_date(),
			'first_content_image'         => $this->get_image_url(),
			'social_title_template'       => $this->get_social_title_template(),
			'social_description_template' => $this->get_social_description_template(),
			'social_image_template'       => $this->get_social_image_template(),
		];

		$values = ( $values_to_set + $values );
	}

	return $values;
}