• File: text-formality-conditional.php
  • Full Path: /home/matthif/www/wp-content/plugins/wordpress-seo/src/conditionals/text-formality-conditional.php
  • Date Modified: 02/24/2024 11:29 PM
  • File size: 433 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Yoast\WP\SEO\Conditionals;

/**
 * Checks if the YOAST_SEO_TEXT_FORMALITY constant is set.
 */
class Text_Formality_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.
     */
    
public function get_feature_flag() {
        return 
'TEXT_FORMALITY';
    }
}