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: , .

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: