Yoast\WP\SEO\Actions\Importing

Abstract_Aioseo_Importing_Action::simple_import()publicYoast 1.0

Minimally transforms data to be imported.

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

Хуков нет.

Возвращает

Строку. The transformed meta data.

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

$Abstract_Aioseo_Importing_Action = new Abstract_Aioseo_Importing_Action();
$Abstract_Aioseo_Importing_Action->simple_import( $meta_data );
$meta_data(строка) (обязательный)
The meta data to be imported.

Код Abstract_Aioseo_Importing_Action::simple_import() Yoast 19.2

public function simple_import( $meta_data ) {
	// Transform the replace vars into Yoast replace vars.
	$transformed_data = $this->replacevar_handler->transform( $meta_data );

	return $this->sanitization->sanitize_text_field( \html_entity_decode( $transformed_data ) );
}