Gravity forms – get shortcode attribute from post content
Question
I have some posts and some of them contain [gravityform]
shortcode with different attribute values.
Say, a post Hello World contains a shortcode [gravityform id="1" title="false" description="false"]
Another post Hello Moon contains shortcode [gravityform description="true" id="23" title="true"]
How can I get the value of id
attribute of that shortcode programmatically?
0
plugin-gravity-forms, regex, shortcode
7 years
2016-09-01T14:22:40-05:00
2016-09-01T14:22:40-05:00 0 Answers
75 views
0
Leave an answer