gform_delete_meta()

gform_delete_meta()

DescriptionUsageParametersExamplesSource Code

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

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註