gform_delete_meta()

Description

Deletes the meta key from the Entry Meta table.

Usage

gform_delete_meta( $entry_id, $meta_key );

Parameters

  • $entry_id integer

    The ID of the entry.

  • $meta_key string

    The meta key of the meta value you wish to delete.

Examples

This example simply deletes a stored entry meta value.

// deletes the meta value of the "temporary_value" entry meta key for entry ID 13
gform_delete_meta( 13, 'temporary_value' );

Source Code

This function is located in forms_model.php