Archive | Functions RSS feed for this section

kses_init_filters

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 reading

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.

2235

Continue reading

js_escape

Escape single quotes, specialchar double quotes, and fix line endings.The filter ‘js_escape’ is also applied by esc_js()

2233

Continue reading

is_wp_error

Check 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