rgblank

The Gravity Forms + Stripe rgblank function.

Description

rgblank( $text ); 

Parameters (1)

0. $text
The text.

Usage

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

Defined (1)

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

/includes/gf-utility-functions.php  
  1. function rgblank ( $text ) { 
  2. return empty( $text ) && strval( $text ) != '0';