Skip to content
Get Bricks

Filter: bricks/acf/google_map/text_output

Filters the final HTML output of the ACF Google Map field dynamic data. This runs after the address parts or coordinates have been formatted.

  • $output (string): The rendered HTML output string.
  • $value (array): The raw value of the ACF Google Map field.
  • $field (array): The ACF field settings.
add_filter( 'bricks/acf/google_map/text_output', function( $output, $value, $field ) {
// Example: Strip HTML tags to get plain text
return wp_strip_all_tags( $output );
}, 10, 3 );