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 19.2

public function get_type() {
	$class = \get_class( $this );
	$type  = $class::TYPE;

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

	return $type;
}