Yoast\WP\SEO\Presenters\Admin

Migration_Error_Presenter::__construct()publicYoast 1.0

Migration_Error_Presenter constructor.

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

Хуков нет.

Возвращает

null. Ничего.

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

$Migration_Error_Presenter = new Migration_Error_Presenter();
$Migration_Error_Presenter->__construct( $migration_error );
$migration_error(массив) (обязательный)
The migration error.

Код Migration_Error_Presenter::__construct() Yoast 19.11

public function __construct( $migration_error ) {
	$this->migration_error = $migration_error;
}