remove_all_shortcodes

Advertisement

Summery Summery

Clear all shortcodes.

Syntax Syntax

remove_all_shortcodes()

Description Description

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 Source

File: wp-includes/shortcodes.php

function remove_all_shortcodes() {
	global $shortcode_tags;

	$shortcode_tags = array();
}

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply