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 ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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