Skip to main content

rgars()

function rgars( $array, $name, $default=null )

Gets a specific property within a multidimensional array.

Since: Unknown

Source: gravityforms.php:7116

Parameters

NameTypeDefaultDescription
$arrayarrayThe array to search in.
$namestringThe name of the property to find.
$defaultstringnullOptional. Value that should be returned if the property is not set or empty. Defaults to null.

Returns

  • null | string | mixed — The value