Yoast\WP\SEO\Conditionals

Settings_Conditional::__construct()publicYoast 1.0

Constructs Settings_Conditional.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код Settings_Conditional::__construct() Yoast 19.6.1

public function __construct(
	New_Settings_Ui_Conditional $new_settings_ui_conditional,
	Premium_Active_Conditional $premium_active_conditional,
	User_Can_Manage_Wpseo_Options_Conditional $user_can_manage_wpseo_options_conditional
) {
	$this->new_settings_ui_conditional               = $new_settings_ui_conditional;
	$this->premium_active_conditional                = $premium_active_conditional;
	$this->user_can_manage_wpseo_options_conditional = $user_can_manage_wpseo_options_conditional;
}