I am creating a plugin that users can create forms with. Then the user will be able to input a shortcode to display this form. The shortcode will be the form name, which is stored as a
meta_value in the
wp_postmeta table. When the user uses a shortcode, how do I refer back to the form name & display the form?
When the user creates a form, should I automatically create a shortcode in the same script? How would you approach it?