includeIfExists

The Google Analytics by MonsterInsights includeIfExists function.

Description

includeIfExists( $file ); 

Parameters (1)

0. $file
The file.

Usage

  1. if ( !function_exists( 'includeIfExists' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-analytics-by-monsterinsights/vendor/composer/installers/src/bootstrap.php'; 
  3.  
  4. // The file. 
  5. $file = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = includeIfExists($file); 
  9.  

Defined (1)

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

/vendor/composer/installers/src/bootstrap.php  
  1. function includeIfExists($file) 
  2. if (file_exists($file)) { 
  3. return include $file;