Maybe I am not yet experienced enough with WP, so please correct me if I am wrong..
It seems that all shortcodes (even custom ones added using add_shortcode) are added to a single array. And there is only a one function (do_shortcode) to apply these shortcode filters (all the ones in that array) to a supplied string.
However, there is no functionality to have groups of shortcodes, and run specific groups only, as opposed to the all-or-nothing approach.
For example, I have a certain field the client can add content to. But I want only 5 of the 100 existing shortcodes to be enabled for this field. At them moment there seems to be no way to do this.
Can someone help me out? Am I missing something? Is there a plugin for this?
- The topic ‘Shortcode groups, anyone?’ is closed to new replies.