You are here

function _shortcode_tags in Shortcode 7

Same name and namespace in other branches
  1. 6 shortcode.module \_shortcode_tags()

Tags cache

@access private

Parameters

$tags:

2 calls to _shortcode_tags()
_shortcode_process in ./shortcode.module
Process the shortcodes according to the text and the text format.
_shortcode_process_tag in ./shortcode.module
Regular Expression callable for do_shortcode() for calling shortcode hook.

File

./shortcode.module, line 204

Code

function _shortcode_tags($tags = NULL) {
  static $shortcodes = array();
  if ($tags) {
    $shortcodes = $tags;
    return TRUE;
  }
  return $shortcodes;
}