Yoast\WP\SEO\Conditionals

Indexables_Page_Conditional{}Yoast 1.0

Feature flag conditional for the new indexables page.

Хуков нет.

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

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

Методы

  1. protected get_feature_flag()

Код Indexables_Page_Conditional{} Yoast 19.10

class Indexables_Page_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 'INDEXABLES_PAGE';
	}
}