stats_register_widget_control_callback

Register Stats Widget Control Callback.

Description

stats_register_widget_control_callback(); 

Usage

  1. if ( !function_exists( 'stats_register_widget_control_callback' ) ) { 
  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_register_widget_control_callback(); 
  7.  

Defined (1)

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

/modules/stats.php  
  1. function stats_register_widget_control_callback() { 
  2. $GLOBALS['wp_dashboard_control_callbacks']['dashboard_stats'] = 'stats_dashboard_widget_control';