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

namespace Yoast\WP\SEO\Conditionals;

/**
 * Checks if the Addon_Installation constant is set.
 */
class Addon_Installation_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 
'ADDON_INSTALLATION';
    }
}