Definition:
function strip_shortcode_tag( $m ) {}
Parameters
- $m
Source code
function strip_shortcode_tag( $m ) {
// allow [[foo]] syntax for escaping a tag
if ( $m[1] == '[' && $m[6] == ']' ) {
return substr($m[0], 1, -1);
}
return $m[1] . $m[6];
}
17077

December 13, 2011 


No comments yet... Be the first to leave a reply!