Filter: bricks/acf/google_map/show_as_address
Filter: bricks/acf/google_map/show_as_address
Section titled “Filter: bricks/acf/google_map/show_as_address”Determines whether the ACF Google Map field dynamic data should be rendered as a formatted address or as latitude/longitude coordinates.
Parameters
Section titled “Parameters”$show_as_address(bool): Whether to render as an address. Defaults totrueif ACF version >= 5.6.8.$value(array): The raw value of the ACF Google Map field.$field(array): The ACF field settings.
Example usage
Section titled “Example usage”add_filter( 'bricks/acf/google_map/show_as_address', function( $show_as_address, $value, $field ) { // Force showing latitude and longitude instead of address return false;}, 10, 3 ); Was this page helpful?