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

WPSEO_Add_Keyword_Modal::get_translations() public Yoast 1.0

Returns the translations for the Add Keyword modal.

These strings are not escaped because they're meant to be used with React which already takes care of that. If used in PHP, they should be escaped.

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

Хуков нет.

Возвращает

Массив. Translated text strings for the Add Keyword modal.

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

$WPSEO_Add_Keyword_Modal = new WPSEO_Add_Keyword_Modal();
$WPSEO_Add_Keyword_Modal->get_translations();

Код WPSEO_Add_Keyword_Modal::get_translations() Yoast 15.1.1

<?php
public function get_translations() {
	return [
		'title'                    => __( 'Would you like to add more than one keyphrase?', 'wordpress-seo' ),
		'intro'                    => sprintf(
			/* translators: %s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
			__( 'Great news: you can, with %s!', 'wordpress-seo' ),
			'{{link}}Yoast SEO Premium{{/link}}'
		),
		'link'                     => WPSEO_Shortlinker::get( 'https://yoa.st/pe-premium-page' ),
		'other'                    => sprintf(
			/* translators: %s expands to 'Yoast SEO Premium'. */
			__( 'Other benefits of %s for you:', 'wordpress-seo' ),
			'Yoast SEO Premium'
		),
		'buylink'                  => WPSEO_Shortlinker::get( 'https://yoa.st/add-keywords-popup' ),
		'buy'                      => sprintf(
			/* translators: %s expands to 'Yoast SEO Premium'. */
			__( 'Get %s', 'wordpress-seo' ),
			'Yoast SEO Premium'
		),
		'small'                    => __( '1 year free support and updates included!', 'wordpress-seo' ),
		'a11yNotice.opensInNewTab' => __( '(Opens in a new browser tab)', 'wordpress-seo' ),
	];
}