Definition:
function kses_init() {}
Sets up most of the Kses filters for input form content.
If you remove the kses_init() function from ‘init’ hook and ‘set_current_user’ (priority is default), then none of the Kses filter hooks will be added.
Source code
function kses_init() {
kses_remove_filters();
if (current_user_can('unfiltered_html') == false)
kses_init_filters();
}
2235

February 12, 2011 


No comments yet... Be the first to leave a reply!