CYBER MONDAY - 30% OFF Use coupon CM30 at checkout - Learn more

wsf_submit_get_value

Description

The wsf_submit_get_value PHP function returns a form submission value by meta key.

Usage

wsf_submit_get_value( $submit_object, $meta_key, $default_value, $protected );

Parameters

  1. $submit_object Submit Object
    The submit object.
  2. $meta_key String
    The submit meta key to return a value for.
  3. $default_value String
    The default value to return if the meta key cannot be found.
    Default value: Blank string
  4. $protected Boolean
    Whether to access protected values.
    Default value: false

Return

$submit_value String
The meta value of the meta key in the submit object.