Question:
I have a wordpress and ACF related question. I need to display repeater field as a shortcode that will be created inside functions.php file. Then I will use shortcode inside post page with Gutenberg. Is this possible?I struggle with this today and I can`t find a solution ๐
Answer:
The callback in add_shortcode function should not return an output of any kind, just return the text that is to be used to replace the shortcode, like this:
If you have better answer, please add a comment about this, thank you!