Adds all Kses input form content filters.All hooks have default priority. The wp_filter_kses() function is added to the ‘pre_comment_content’ and ‘title_save_pre’ hooks.
2237
Continue readingAdds all Kses input form content filters.All hooks have default priority. The wp_filter_kses() function is added to the ‘pre_comment_content’ and ‘title_save_pre’ hooks.
2237
Continue readingSets 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.
2235
Continue readingEscape single quotes, specialchar double quotes, and fix line endings.The filter ‘js_escape’ is also applied by esc_js()
2233
Continue readingCheck whether variable is a WordPress Error.Looks at the object and if a WP_Error class. Does not check to see if the parent is also WP_Error, so can’t inherit WP_Error and still use this function.
2229
Continue reading