ifacethoughts

allowedposttags

This global variable is used to store elements that are allowed in a post. These elements are allowed only in body of the post, allowedposttags is used for rest of the HTML. All others are stripped before the post is published. It is an associative array set in [wordpress root folder]/wp-includes/kses.php (kses is a HTML/XHTML filter written in PHP). It is used in function wp_filter_post_kses($data) defined in [wordpress root folder]/wp-includes/kses.php which is eventually executed for the action init.

Refer to allowedposttags on ways of modifying the elements that are allowed in the post.

Back to full list of global variables.

Technorati tags: , .

Say your thought!

Who are you?

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.

This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.