Yoast\WP\SEO\Actions\Importing

Deactivate_Conflicting_Plugins_Action::__construct()publicYoast 1.0

Class constructor.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$Deactivate_Conflicting_Plugins_Action = new Deactivate_Conflicting_Plugins_Action();
$Deactivate_Conflicting_Plugins_Action->__construct(;

Код Deactivate_Conflicting_Plugins_Action::__construct() Yoast 24.0

public function __construct(
	Import_Cursor_Helper $import_cursor,
	Options_Helper $options,
	Sanitization_Helper $sanitization,
	Aioseo_Replacevar_Service $replacevar_handler,
	Aioseo_Robots_Provider_Service $robots_provider,
	Aioseo_Robots_Transformer_Service $robots_transformer,
	Conflicting_Plugins_Service $conflicting_plugins_service
) {
	parent::__construct( $import_cursor, $options, $sanitization, $replacevar_handler, $robots_provider, $robots_transformer );

	$this->conflicting_plugins = $conflicting_plugins_service;
	$this->detected_plugins    = [];
}