Yoast\WP\SEO\Conditionals
Farsi_Support_Conditional{}
Устарела с версии 17.2. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
Checks if the YOAST_SEO_FARSI_SUPPORT constant is set.
Хуков нет.
Использование
$Farsi_Support_Conditional = new Farsi_Support_Conditional(); // use class methods
Методы
- public get_feature_flag()
Список изменений
Устарела с | 17.2 |
Код Farsi_Support_Conditional{} Farsi Support Conditional{} Yoast 19.2
class Farsi_Support_Conditional extends Feature_Flag_Conditional { /** * Returns the name of the feature flag. * 'YOAST_SEO_' is automatically prepended to it and it will be uppercased. * * @deprecated 17.2 * @codeCoverageIgnore * * @return string the name of the feature flag. */ public function get_feature_flag() { \_deprecated_function( __METHOD__, 'WPSEO 17.2' ); return 'FARSI_SUPPORT'; } }