fs_get_template_path

The NextGEN Gallery fs get template path function.

Description

fs_get_template_path( $path ); 

Parameters (1)

0. $path
The path.

Usage

  1. if ( !function_exists( 'fs_get_template_path' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/freemius/includes/fs-core-functions.php'; 
  3.  
  4. // The path. 
  5. $path = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = fs_get_template_path($path); 
  9.  

Defined (1)

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

/freemius/includes/fs-core-functions.php  
  1. function fs_get_template_path( $path ) { 
  2. return WP_FS__DIR_TEMPLATES . '/' . trim( $path, '/' );