gform_exacttarget_uninstall_button
The Gravity Forms ExactTarget Add-On gform exacttarget uninstall button hook.
Description
Parameters (1)
- 0. $uninstall_button (unknown)
- The uninstall button.
Usage
- To run the hook, copy the example below.
- $uninstall_button = apply_filters( 'gform_exacttarget_uninstall_button', $uninstall_button );
- if ( !empty( $uninstall_button ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the gform_exacttarget_uninstall_button callback
- function filter_gform_exacttarget_uninstall_button( $uninstall_button ) {
- // make filter magic happen here...
- return $uninstall_button;
- };
- // add the filter
- add_filter( 'gform_exacttarget_uninstall_button', 'filter_gform_exacttarget_uninstall_button', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'gform_exacttarget_uninstall_button', 'filter_gform_exacttarget_uninstall_button', 10, 1 );
Defined (2)
The filter is defined in the following location(s).
- /exacttarget.php
- echo apply_filters("gform_exacttarget_uninstall_button", $uninstall_button);
- echo apply_filters("gform_exacttarget_uninstall_button", $uninstall_button);