WPSEO_Features

Class containing method for WPSEO Features.

Defined (1)

The class is defined in the following location(s).

/inc/class-wpseo-features.php  
  1. class WPSEO_Features { 
  2.  
  3. /** 
  4. * Checks if the premium constant exists to make sure if plugin is the premium one. 
  5. * @return bool 
  6. */ 
  7. public function is_premium() { 
  8. return ( defined( 'WPSEO_PREMIUM_FILE' ) ); 
  9.  
  10. /** 
  11. * Checks if using the free version of the plugin. 
  12. * @return bool 
  13. */ 
  14. public function is_free() { 
  15. return ! $this->is_premium();