From a5839412b38ef874675bf2a2bd3cdcc4ee1f3add Mon Sep 17 00:00:00 2001 From: Adrian Bielec Date: Mon, 13 Sep 2021 13:50:26 +0200 Subject: [PATCH] add format --- src/class-config.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/class-config.php b/src/class-config.php index 927f2b3..98665c8 100644 --- a/src/class-config.php +++ b/src/class-config.php @@ -443,6 +443,10 @@ protected function get_acf_field_value( $root, $acf_field, $format = false ) { $format = true; } + if ( 'textarea' === $acf_field['type']) { + $format = true; + } + /** * Check if cloned field and retrieve the key accordingly. */