WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/do shortcode tag


This function's access is marked as private. That means it is not intended for use by plugin and theme developers, but only in other core functions. It is listed here for completeness. Use any of these functions instead.

Description

Regular Expression callable for do_shortcode() for calling shortcode hook.

Usage

<?php do_shortcode_tag$m ?>

Parameters

$m
(array) (required) Regular expression match array
Default: None

Return Values

(mixed) 
False on failure.

Examples

Notes

  • This is a private function. It should not be called directly. It is listed in the Codex for completeness.
  • See get_shortcode_regex for details of the match array contents.
  • Uses global: (unknown type) $shortcode_tags

Change Log

Since: 2.5

Source File

do_shortcode_tag() is located in wp-includes/shortcodes.php.

Related

See also index of Function Reference and index of Template Tags.