fs_request_get

The NextGEN Gallery fs request get function.

Description

fs_request_get( (string) $key, (bool) $def = false ); 

Parameters (2)

0. $key (string)
The key.
1. $def — Optional. (bool) => false
The def.

Usage

  1. if ( !function_exists( 'fs_request_get' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/freemius/includes/fs-core-functions.php'; 
  3.  
  4. // The key. 
  5. $key = ''; 
  6.  
  7. // The def. 
  8. $def = false; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = fs_request_get($key, $def); 
  12.  

Defined (1)

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

/freemius/includes/fs-core-functions.php  
  1. function fs_request_get( $key, $def = false ) { 
  2. return isset( $_REQUEST[ $key ] ) ? $_REQUEST[ $key ] : $def;