Shortcode parser callback to replace "[codeblock id=n]CodeBlock Name[/codeblock]" with CodeBlock.Content contents Note: any content passed in via the $content parameter will be ignored.
Signature
public function codeblock_shortcode_handler(array
$arguments,
[string
$content = NULL,
[
$parser = NULL]] )
Parameters
$arguments
—
array
Any parameters attached to the shortcode as an associative array (keys are lower-case).
$content
—
string
Any content enclosed within the shortcode (if it is an enclosing shortcode). Note that any content within this will not have been parsed, and can optionally be fed back into the parser.