Create WordPress shortcode from database entries

So I want to create a shortcode for every row in my database. The problem here is that the add_shortcode() requires a shortcode, which I can create a variable for in a foreach loop and a callback function. And I can’t seem to figure out how to dynamically create that one for every database entry without entering in manually.

Read more here:: Create WordPress shortcode from database entries

Leave a Reply

Your email address will not be published. Required fields are marked *