2. How to list all of them?

I'm not even sure if I can do that, since the add_shortcode() doesn't allow to group shortcodes, so I guess it will be pretty hard to distinguish my shortcodes from the others (from plugins, or other sources). Any ideas? I could loop trough all of shortcodes containing files using foreach(glob('*.php') as $shortcode) and file_get_contents with some regex, but when it comes to performance this is one of the dumbest ideas I've ever came up with.

If that's not possible then how to display a list of all active shortcodes, so I could filter them somehow (I could add a prefix to the ones created by me and then list all shortcodes starting with this prefix).

As you can see you get the shortcode name as key and the associated function as the value. If the function is an object you get the object with its properties and the associated function as an array.

I don’t see a way to get the default attributes. Maybe per Reflection API.

The attributes are defined inside of the functions. The registered shortcode doesn’t know anything about the inner workings of the associated function. And the default attributes can be ambiguous: they might be the result of another function call inside of the callback handler.

Unfortunately Shortcode Reference doesn't seem to work for me, reference tab is always empty, am I doing something wrong? I guess using Reflection API will be next to impossible if I'm just beginning with OO PHP? Your plugin rocks, but the code is pretty complicated. I guess I'll have to figure it on my own. Just guessing adding shortcodes using my own class will be the easier way as I've done it before with metaboxes.
–
WordpressorApr 4 '12 at 18:03