Yoast\WP\SEO\Actions\Importing

Abstract_Aioseo_Importing_Action::url_import()publicYoast 1.0

Transforms URL to be imported.

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

Хуков нет.

Возвращает

Строку. The transformed URL.

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

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

Код Abstract_Aioseo_Importing_Action::url_import() Yoast 19.2

public function url_import( $meta_data ) {
	// We put null as the allowed protocols here, to have the WP default allowed protocols, see https://developer.wordpress.org/reference/functions/wp_allowed_protocols.
	return $this->sanitization->sanitize_url( $meta_data, null );
}