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

wsf_submit_set_value_by_field_id

Description

The wsf_submit_set_value_by_field_id PHP function sets a field value in a submit object.

Usage

wsf_submit_set_value_by_field_id( $submit_object, $field_id, $field_value );

Parameters

  1. $submit_object Submit Object
    The submit object.
  2. $field_id Integer
    The field ID.
  3. $field_value Mixed
    The field value to set.

Return

$submit_updated Boolean
Whether the submit record was successfully updated.