Variable on Shortcode
-
Hello Is there a way I can pass a variable through the shortcode, so it fill an default value at an imput?
I was thinking in something like this:
echo do_shortcode (‘[mc4wp_form id=”12345″ my_var=”dinamic_value”] ) ;And on the form: <input type=”hidden” name=”PRODUCTNAME” value=”{my_var}”>
Is there a way to accomplish this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Variable on Shortcode’ is closed to new replies.