Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




strip_shortcode_tag [ WordPress Function ]

strip_shortcode_tag ( $m )
Defined at:



No description yet.

Source


<?php
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];
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics