Yoast\WP\SEO\Conditionals

Google_Site_Kit_Feature_Conditional{}Yoast 1.0

Conditional for the GOOGLE_SITE_KIT_FEATURE feature flag.

Хуков нет.

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

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

Методы

  1. protected get_feature_flag()

Код Google_Site_Kit_Feature_Conditional{} Yoast 24.4

class Google_Site_Kit_Feature_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 'GOOGLE_SITE_KIT_FEATURE';
	}
}