پرش به محتویات

"Filter: bricks/acf/google_map/text_output"

خروجی HTML نهایی داده‌های پویا فیلد ACF Google Map را فیلتر می‌کند. این پس از قالب بندی قسمت های آدرس یا مختصات اجرا می‌شود.

پارامترها

  • $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 );