stats_get_options

Stats Get Options.

Description

stats_get_options(); 

Usage

  1. if ( !function_exists( 'stats_get_options' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/stats.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = stats_get_options(); 
  7.  

Defined (1)

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

/modules/stats.php  
  1. function stats_get_options() { 
  2. $options = get_option( 'stats_options' ); 
  3.  
  4. if ( !isset( $options['version'] ) || $options['version'] < STATS_VERSION
  5. $options = stats_upgrade_options( $options ); 
  6.  
  7. return $options;