DescriptionUsageParametersExamplesPlacementSource Code
Description
The 「gform_addnote_button」 filter in Gravity Forms allows modification of the HTML of the 「Add Note」 button for Entry Notes on the Entry Detail page.
Usage
1add_filter( 'gform_addnote_button', 'your_function_name', 10, 1 );
Parameters
$note_button string
The HTML for the 「Add Note」 Button.
Examples
12345add_filter( 'gform_addnote_button', 'change_button', 10, 1 );function change_button( $note_button ){ $note_button = ''; return $note_button;}
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in GFEntryDetail::notes_grid() in entry_detail.php.