gform_disable_address_map_link

Description

The gform_disable_address_map_link filter allows developers to disable the inclusion of the Map It link when displaying the Address field value.

Usage

add_filter( 'gform_disable_address_map_link', '__return_true' );

Parameters

This hook has no parameters.

Placement

This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.

See also the PHP section in this article: Where Do I Put This Code?

Source Code

This filter is located in GF_Field_Address::get_value_entry_detail() in includes/fields/class-gf-field-address.php.