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

Yoast\WP\SEO\Actions\Importing

Aioseo_General_Settings_Importing_Action::transform_site_represents() public Yoast 1.0

Transforms the site represents setting.

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

Хуков нет.

Возвращает

Строку. The transformed site represents setting.

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

$Aioseo_General_Settings_Importing_Action = new Aioseo_General_Settings_Importing_Action();
$Aioseo_General_Settings_Importing_Action->transform_site_represents( $site_represents );
$site_represents(строка) (обязательный)
The site represents setting.

Код Aioseo_General_Settings_Importing_Action::transform_site_represents() Yoast 17.9

public function transform_site_represents( $site_represents ) {
	switch ( $site_represents ) {
		case 'person':
			return 'person';

		case 'organization':
		default:
			return 'company';
	}
}