Support » Fixing WordPress » how to list all shortcodes?

  • I have a custom theme installed.
    I know it has a whole range of shortcodes but the documentation for the theme does not list them…I only have a few sample pages.
    Where can I look in the db or PHP code for a list of all the shortcodes I can use?
    Alternatively, is there a plugin that will list all of a theme’s codes?

Viewing 1 replies (of 1 total)
  • You can find all shortcodes in the global array $shortcode_tags.

    global $shortcode_tags;
    foreach ($shortcode_tags as $key => $value) {
       echo "SHORTCODE: $key<br />";
Viewing 1 replies (of 1 total)
  • The topic ‘how to list all shortcodes?’ is closed to new replies.