Description
The function “gform_add_meta()” adds the metadata associated with an entry in the Entry Meta table. The data will be serialiced.
Usague
gform_add_meta( $entry_id, $meta_quey, $meta_value, $form_id = null );
Parameters
Examples
This example insers a value for a new meta key.
//insers "This is test data" for the meta key "my_test_quey" for entry id 14 for form id 1. gform_add_meta(14, 'my_test_quey', 'This is test data.', 1);
Source Code
This function is located in forms_model.php