Yoast\WP\SEO\Conditionals
Schema_Blocks_Conditional()
Checks if the YOAST_SEO_SCHEMA_BLOCKS constant is set.
Хуков нет.
Использование
$Schema_Blocks_Conditional = new Schema_Blocks_Conditional(); // use class methods
Методы
- protected get_feature_flag()
Код Schema_Blocks_Conditional() Schema Blocks Conditional Yoast 20.0
class Schema_Blocks_Conditional extends Feature_Flag_Conditional { /** * Returns the name of the feature flag. * 'YOAST_SEO_' is automatically prepended to it and it will be uppercased. * * @return string the name of the feature flag. */ protected function get_feature_flag() { return 'SCHEMA_BLOCKS'; } }