fs_get_template
The NextGEN Gallery fs get template function.
Description
Parameters (2)
- 0. $path
- The path.
- 1. $params — Optional. (null) =>
&$params = null
- The params.
Usage
if ( !function_exists( 'fs_get_template' ) ) { require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/freemius/includes/fs-core-functions.php'; } // The path. $path = null; // The params. $params = &$params = null; // NOTICE! Understand what this does before running. $result = fs_get_template($path, $params);
Defined (1)
The function is defined in the following location(s).
- /freemius/includes/fs-core-functions.php
- function fs_get_template( $path, &$params = null ) {
- ob_start();
- $VARS = &$params;
- require_once( fs_get_template_path( $path ) );
- return ob_get_clean();
- }