bookmark_bordergform_view

Description

Fires an action based on the current form view.

Usage

add_action( 'gform_view', 'your_function_name' );

Parameters

  • $view string

    The current view.

  • $id string

    The form ID being viewed.

Example

add_action( 'gform_view', 'your_function_name' );

function your_function_name() {
   // Do something
}

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

This filter is located in gravityforms.php