Description
Gets a property value from an object.
Usage
rgobj( $obj, $prop );
Parameters
- $obj object
The object that you want to access.
- $prop string
The property within the object that you want to get the value from.
Examples
// Returns the value of the field object id property
$id = rgobj( $field, 'id' );
Source Code
This function is located in gravityforms.php