gpi_render_summary_page

The Google Pagespeed Insights gpi render summary page function.

Description

gpi_render_summary_page( $default_strategy ); 

Parameters (1)

0. $default_strategy
The default strategy.

Usage

  1. if ( !function_exists( 'gpi_render_summary_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-pagespeed-insights/includes/admin/summary.php'; 
  3.  
  4. // The default strategy. 
  5. $default_strategy = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = gpi_render_summary_page($default_strategy); 
  9.  

Defined (1)

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

/includes/admin/summary.php