Page Builder Summit Limited Time Offer - 20% OFF! Use coupon PBS20 - View Details

wsf_helper_get_object_property

Description

The wsf_helper_get_object_property PHP function gets a property value from an object such as a form, group, section, field or submit object.

Usage

wsf_helper_get_object_property( $object, $parameter, $default_value );

Parameters

  1. $object Object
    The object to get the parameter value from.
  2. $parameter String
    The object parameter.
  3. $default_value Mixed
    The default value returned if the object parameter cannot be found.

Return

$parameter_value Mixed
The parameter value.

Example

$form_label = wsf_helper_get_object_property( $form_object, 'label', __('No label') );