fs_custom_status_init

The NextGEN Gallery fs custom status init function.

Description

fs_custom_status_init( $statuses ); 

Parameters (1)

0. $statuses
The statuses.

Usage

  1. if ( !function_exists( 'fs_custom_status_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/freemius/includes/debug/debug-bar-start.php'; 
  3.  
  4. // The statuses. 
  5. $statuses = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = fs_custom_status_init($statuses); 
  9.  

Defined (1)

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

/freemius/includes/debug/debug-bar-start.php  
  1. function fs_custom_status_init( $statuses ) { 
  2. if ( class_exists( 'Debug_Bar_Panel' ) ) { 
  3. if ( FS_API__LOGGER_ON ) { 
  4. require_once dirname( __FILE__ ) . '/class-fs-debug-bar-panel.php'; 
  5. $statuses[] = array( 
  6. 'fs_api_requests',  
  7. __fs( 'Freemius API' ),  
  8. Freemius_Debug_Bar_Panel::requests_count() . ' ' . __fs( 'Requests' ) . 
  9. ' (' . Freemius_Debug_Bar_Panel::total_time() . ')' 
  10. ); 
  11.  
  12. return $statuses;