Yoast\WP\SEO\Actions\Importing\Aioseo

Aioseo_Posts_Importing_Action::transform_import_data()protectedYoast 1.0

Transforms the data to be imported.

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

Хуков нет.

Возвращает

Строку|true|false|null. The transformed data to be imported.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->transform_import_data( $transform_method, $aioseo_indexable, $aioseo_key, $yoast_mapping, $indexable );
$transform_method(строка) (обязательный)
The method that is going to be used for transforming the data.
$aioseo_indexable(массив) (обязательный)
The data of the AIOSEO indexable data that is being imported.
$aioseo_key(строка) (обязательный)
The name of the specific set of data that is going to be transformed.
$yoast_mapping(массив) (обязательный)
Extra details for the import of the specific data that is going to be transformed.
$indexable(Indexable) (обязательный)
The Yoast indexable that we are going to import the transformed data into.

Код Aioseo_Posts_Importing_Action::transform_import_data() Yoast 22.3

protected function transform_import_data( $transform_method, $aioseo_indexable, $aioseo_key, $yoast_mapping, $indexable ) {
	return \call_user_func( [ $this, $transform_method ], $aioseo_indexable, $aioseo_key, $yoast_mapping, $indexable );
}