Hi there!
A more advanced question. I hope there is a solution for this.
I created a custom dynamic content that accepts the key and uses that in the function. However, I would like it to accept the rendered version of nested dynamic content.
Normally the DC looks like this:
{{ wp_members.has_access({"membership":"key-value"}) }}
When used with nested DC it looks like this:
{{ wp_members.has_access({"membership":"{{ looper.field({\"key\":\"cursus\"}) }}"}) }}
The problem is that the function receives {{ looper.field({\"key\":\"cursus\"}) }}
as the key-value instead of what the looper-field refers to (“key-value”).
Is there a way to send the rendered version of dynamic content to a custom function? Or is there another or better way to do this?
Many thanks in advance!