/var/www/hkosl.com/aga/wp-content/plugins/wordpress-seo/inc/class-wpseo-features.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Internal
 */

/**
 * Class containing method for WPSEO Features.
 */
class WPSEO_Features {

    
/**
     * Checks if the premium constant exists to make sure if plugin is the premium one.
     *
     * @return bool
     */
    
public function is_premium() {
        return ( 
defined'WPSEO_PREMIUM_FILE' ) );
    }

    
/**
     * Checks if using the free version of the plugin.
     *
     * @return bool
     */
    
public function is_free() {
        return ! 
$this->is_premium();
    }
}