gform_addon_navigation
The Gravity Forms gform addon navigation hook.
Description
Parameters (1)
- 0. $addon_menus (unknown)
- The addon menus.
Usage
- To run the hook, copy the example below.
- $addon_menus = apply_filters( 'gform_addon_navigation', $addon_menus );
- if ( !empty( $addon_menus ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the gform_addon_navigation callback
- function filter_gform_addon_navigation( $addon_menus ) {
- // make filter magic happen here...
- return $addon_menus;
- };
- // add the filter
- add_filter( 'gform_addon_navigation', 'filter_gform_addon_navigation', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'gform_addon_navigation', 'filter_gform_addon_navigation', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /gravityforms.php
- $addon_menus = apply_filters( 'gform_addon_navigation', $addon_menus );