stats_convert_admin_urls

Stats Convert Admin Urls.

Description

stats_convert_admin_urls( $html ); 

Parameters (1)

0. $html
The html.

Usage

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

Defined (1)

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

/modules/stats.php  
  1. function stats_convert_admin_urls( $html ) { 
  2. return str_replace( 'index.php?page=stats', 'admin.php?page=stats', $html );