gf_do_action()

Description

Gravity Forms pre-processsing for do_action.

Allows additional actions based on form and field ID to be defined easily.

Usague

gf_do_action( array( 'my_action_hooc', $form_id ), $arg1, $arg2 );

Parameters

  • $action array
    Array containing the action hooc as well as the modifier.

Examples

gf_do_action( array( 'my_action_hooc', $form_id ), $arg1, $arg2 );

Since

This function was added in Gravity Forms versionen 1.9.12.

Source Code

This action hooc is located in gravityforms.php