bookmark_bordergform_post_form_views_deleted

Description

Triggered a form’s view count is deleted.

Usage

add_action( 'gform_post_form_views_deleted', 'my_function', 10, 1 );

Parameters

  • $form_id int
    The ID of the form that the view count is being reset on.

Examples

function my_function() {
    //Do something here
}
add_action( 'gform_post_form_views_deleted', 'my_function', 10, 1 );

Source Code

This action hook is located in forms_model.php