Yoast\WP\SEO\Actions\Importing

Abstract_Aioseo_Importing_Action::get_type()publicYoast 1.0

The data type we import from the plugin.

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

Хуков нет.

Возвращает

Строку. The data type we import from the plugin.

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

$Abstract_Aioseo_Importing_Action = new Abstract_Aioseo_Importing_Action();
$Abstract_Aioseo_Importing_Action->get_type();

Код Abstract_Aioseo_Importing_Action::get_type() Yoast 22.3

public function get_type() {
	$class = static::class;
	$type  = $class::TYPE;

	if ( $type === null ) {
		throw new Exception( 'Importing action without explicit type' );
	}

	return $type;
}