kses_remove_filters

Removes all Kses input form content filters.

Description

kses_remove_filters(); 

A quick procedural method to removing all of the filters that kses uses for content in WordPress Loop.

Does not remove the kses_init() function from hook (priority is default). Also does not remove kses_init() function from hook (priority is also default).


Usage

  1. if ( !function_exists( 'kses_remove_filters' ) ) { 
  2. require_once ABSPATH . WPINC . '/kses.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = kses_remove_filters(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/kses.php  
  1. function kses_remove_filters() { 
  2. // Normal filtering 
  3.  
  4. // Comment filtering 
  5.  
  6. // Post filtering