Skip to main content

rgget()

function rgget( $name, $array=null )

Helper function for getting values from query strings or arrays

Since: 2.9.1 (Updated to use GFForms::get().)

Source: gravityforms.php:7048

Parameters

NameTypeDefaultDescription
$namestringThe key
$arrayarraynullThe array to search through. If null, checks query strings. Defaults to null.

Returns

  • string — The value. If none found, empty string.