Skip to content
Advertisement

How to output foreach inside echo

I need to output inside echo foreach to output the terms that belong to this post. How can i do this? The code I wrote is not working.

JavaScript

Advertisement

Answer

You have to use foreach block and print inside the block

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement