Filter: bricks/acf/google_map/text_output
Filter: bricks/acf/google_map/text_output
Section titled “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.
Parameters
Section titled “Parameters”$output(string): The rendered HTML output string.$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/text_output', function( $output, $value, $field ) { // Example: Strip HTML tags to get plain text return wp_strip_all_tags( $output );}, 10, 3 ); Was this page helpful?