Yoast\WP\SEO\Actions\Importing\Aioseo

Aioseo_Validate_Data_Action::__construct()publicYoast 1.0

Class constructor.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код Aioseo_Validate_Data_Action::__construct() Yoast 19.2

public function __construct(
	wpdb $wpdb,
	Options_Helper $options,
	Aioseo_Custom_Archive_Settings_Importing_Action $custom_archive_action,
	Aioseo_Default_Archive_Settings_Importing_Action $default_archive_action,
	Aioseo_General_Settings_Importing_Action $general_settings_action,
	Aioseo_Posttype_Defaults_Settings_Importing_Action $posttype_defaults_settings_action,
	Aioseo_Taxonomy_Settings_Importing_Action $taxonomy_settings_action,
	Aioseo_Posts_Importing_Action $post_importing_action
) {
	$this->wpdb                       = $wpdb;
	$this->options                    = $options;
	$this->post_importing_action      = $post_importing_action;
	$this->settings_importing_actions = [
		$custom_archive_action,
		$default_archive_action,
		$general_settings_action,
		$posttype_defaults_settings_action,
		$taxonomy_settings_action,
	];
}