gpi_render_details_page

The Google Pagespeed Insights gpi render details page function.

Description

gpi_render_details_page( $default_strategy, $page_id ); 

Parameters (2)

0. $default_strategy
The default strategy.
1. $page_id
The page id.

Usage

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

Defined (1)

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

/includes/admin/details.php