Yoast\WP\SEO\Conditionals

New_Settings_Ui_Conditional{}Yoast 1.0

Feature flag conditional for the new settings UI.

Хуков нет.

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

$New_Settings_Ui_Conditional = new New_Settings_Ui_Conditional();
// use class methods

Методы

  1. protected get_feature_flag()

Код New_Settings_Ui_Conditional{} Yoast 22.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';
	}
}