wsf_submit_get_value_repeatable

Description

The wsf_submit_get_value_repeatable PHP function returns an array of repeatable section field values for the meta key provided in a submit object.

Usage

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

Parameters

  1. $submit_object Submit Object
    The submit object.
  2. $meta_key String
    The meta key to return values 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

$value_array Array
An array of values, one per row, for repeatable field values that match the meta key provided for the submit object.