gpi_register_scripts

The Google Pagespeed Insights gpi register scripts function.

Description

gpi_register_scripts( $hook ); 

Parameters (1)

0. $hook
The hook.

Usage

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

Defined (1)

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

/core/admin.php