rgar()
function rgar( $array, $prop, $default=null )
Get a specific property of an array without needing to check if that property exists.
Provide a default value if you want to return a specific value if the property is not set.
Since: Unknown
Source: gravityforms.php:7084
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$array | array | Array from which the property's value should be retrieved. | |
$prop | string | Name of the property to be retrieved. | |
$default | string | null | Optional. Value that should be returned if the property is not set or empty. Defaults to null. |
Returns
null|string|mixed— The value