Yoast\WP\SEO\Conditionals
New_Settings_Ui_Conditional{}└─ Feature_Flag_Conditional
Feature flag conditional for the new settings UI.
Хуков нет.
Использование
$New_Settings_Ui_Conditional = new New_Settings_Ui_Conditional(); // use class methods
Методы
- protected get_feature_flag()
Код New_Settings_Ui_Conditional{} New Settings Ui Conditional{} Yoast 26.3
class New_Settings_Ui_Conditional extends Feature_Flag_Conditional {
/**
* Returns the name of the feature flag.
*
* @return string The name of the feature flag.
*/
protected function get_feature_flag() {
return 'NEW_SETTINGS_UI';
}
}