gform_save_zapier_button

Description

The “gform_save_zapier_button” filter allows the Zapier Feed save button to be modified.

Usage

add_filter( 'gform_save_zapier_button', 'your_function_name', 10, 1 );

Parameters

  • $zapier_button string

    The HTML rendered for the save button.

Examples

add_filter( 'gform_save_zapier_button', 'change_save_button', 10, 1 );
function change_save_button( $zapier_button ){
	return '<input class="button-primary" type="submit" value="Save Your Feed" name="save"/>';
}

Placement

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

Source Code

This filter is located in GFZapier::zapier_edit_page() in gravityformszapier/zapier.php.