gform_field_deleted

gform_field_deleted

DescriptionUsageParametersExamplesSource Code

Description
This filter fires after a form field is deleted.
Usage
12345678

Parameters

event Event Object
Default JS event object.

form Form Object
The current form object.

fieldId integer
The current field ID.

Examples
This example uses the gform_admin_pre_render filter to load the hook. A message is displayed if the form id is 44 and field id 1 is deleted.
1234567891011121314add_action( 'gform_admin_pre_render', 'pre_render_function' );function pre_render_function( $form ) {    ?>        

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注