Switch language

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




remove_all_shortcodes [ WordPress Function ]

remove_all_shortcodes ( No parameters )
Uses:
  • $shortcode_tags
Defined at:



Clear all shortcodes.

This function is simple, it clears all of the shortcode tags by replacing the shortcodes global by a empty array. This is actually a very efficient method for removing all shortcodes.

Source


<?php
function remove_all_shortcodes() {
    global 
$shortcode_tags;

    
$shortcode_tags = array();
}
?>

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