gpi_activation_hook

The Google Pagespeed Insights gpi activation hook function.

Description

gpi_activation_hook(); 

Usage

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

Defined (1)

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

/core/init.php