What are allowedposttags and allowedtags?

These are arrays that are used by the wp_kses library. Basically they are white lists of html tags and attributes that WordPress allows in posts and comments. If memory serves correctly, “allowedposttags” is used for sanitizing post_content while “allowedtags” is used for comments.

Leave a Comment