Celebrate WordCamp USA with 30% OFF! Use coupon WC30 at checkout - Full terms

wsf_helper_get_object_meta_value

Description

The wsf_helper_get_object_meta_value PHP function returns the meta value for a meta key in an object such as a form, group, section, field or submit object.

Usage

wsf_helper_get_object_meta_value( $object, $meta_key, $default_value );

Parameters

  1. $object Object
    The object to get the meta value from.
  2. $meta_key String
    The meta key to get from the object.
  3. $default_value Mixed
    The default value returned if the meta key cannot be found in the object.
    Default value: Blank string

Return

$meta_value Mixed
The meta value.