rgar

The Gravity Forms + Stripe rgar function.

Description

(string) rgar( $array, (string) $name ); 

Returns (string)

Parameters (2)

0. $array
The array.
1. $name (string)
The name.

Usage

  1. if ( !function_exists( 'rgar' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'gravity-forms-stripe/includes/gf-utility-functions.php'; 
  3.  
  4. // The array. 
  5. $array = null; 
  6.  
  7. // The name. 
  8. $name = ''; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = rgar($array, $name); 
  12.  

Defined (1)

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

/includes/gf-utility-functions.php  
  1. function rgar ( $array, $name ) { 
  2. if ( isset( $array[$name] ) ) { 
  3. return $array[$name]; 
  4.  
  5. return '';