locate_fbfpi_template

The Facebook Fanpage Import locate fbfpi template function.

Description

locate_fbfpi_template( (string) $template_names, (constant) $load = FALSE, (bool) $require_once = true ); 

Parameters (3)

0. $template_names (string)
The template names.
1. $load — Optional. (constant) => FALSE
The load.
2. $require_once — Optional. (bool) => true
The require once.

Usage

  1. if ( !function_exists( 'locate_fbfpi_template' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'facebook-fanpage-import/functions.php'; 
  3.  
  4. // The template names. 
  5. $template_names = ''; 
  6.  
  7. // The load. 
  8. $load = FALSE; 
  9.  
  10. // The require once. 
  11. $require_once = true; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = locate_fbfpi_template($template_names, $load, $require_once); 
  15.  

Defined (1)

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

/functions.php