Codex

Attention Help us to improve the Codex by filling out our documentation survey!

Function Reference/remove all shortcodes

Contents

Description

Clears all shortcode hooks.

Usage

<?php remove_all_shortcodes(); ?>

Parameters

(none) 

Return Values

(none) 

Examples

Notes

This function clears all of the shortcode tags by replacing the shortcodes global with an empty array. This is a very efficient method for removing all shortcodes.

Change Log

Since: 2.5

Source File

remove_all_shortcodes() is located in wp-includes/shortcodes.php.

Related

Shortcode: do_shortcode(), add_shortcode(), remove_shortcode(), remove_all_shortcodes(), shortcode_atts(), strip_shortcodes(), shortcode_exists(), has_shortcode(), wp_audio_shortcode(), wp_video_shortcode()

See also index of Function Reference and index of Template Tags.