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 ) {    ?>        

發表回覆

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