allowed_tags [ WordPress Function ]
allowed_tags ( No parameters )
| Uses: |
|
| Returns: |
|
| Defined at: |
|
Benzer Fonksiyonlar: get_allowed_themes, wp_allowed_protocols, balancetags, get_allowed_http_origins, the_tags
Display all of the allowed tags in HTML format with attributes.
This is useful for displaying in the comment area, which elements and attributes are supported. As well as any plugins which want to display it.
Source
<?php
function allowed_tags() {
global $allowedtags;
$allowed = '';
foreach ( (array) $allowedtags as $tag => $attributes ) {
$allowed .= '<'.$tag;
if ( 0 < count($attributes) ) {
foreach ( $attributes as $attribute => $limits ) {
$allowed .= ' '.$attribute.'=""';
}
}
$allowed .= '> ';
}
return htmlentities($allowed);
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- WordPress › Support » Tags — allowed_tags
(forgot?) Register · WordPress › Support » allowed_tags. Tag: allowed_tags Add New » ... [resolved] Where the hell is the allowed_tags setting in 2.7? 4, Otto, 3 ...
wordpress.org - Wordpress: Change Allowed Comments Html Tags [ allowed_tags() ]
Dec 15, 2010 ... Your blog readers can post comments with the html tags. You can display a list of all allowed HTML tags in the comments form using the ...
theos.in - filter_xss | common.inc | Drupal 7 | Drupal API
7 common.inc, filter_xss($string, $allowed_tags = array('a', 'em', 'strong', 'cite', ' blockquote', 'code', 'ul', 'ol', 'li', 'dl', 'dt', 'dd')). 8 common.inc · filter_xss($string, ...
api.drupal.org - allowed_tags (WordPress Function) - WPSeek.com
WordPress lookup for allowed_tags, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com
Kullanýcý Tartýþmalarý [ wordpress.org ]
- yoursumbuddy on "modifying allowed_tags() in form-allowed-tags"
- Otto on "Where the hell is the allowed_tags setting in 2.7?"
- tactics on "Where the hell is the allowed_tags setting in 2.7?"
- Otto on "Where the hell is the allowed_tags setting in 2.7?"
- tactics on "Where the hell is the allowed_tags setting in 2.7?"
- alanfluff on "What other functions like allowed_tags(); exits"
- Otto on "What other functions like allowed_tags(); exits"
- alanfluff on "What other functions like allowed_tags(); exits"
- doodlebee on "What other functions like allowed_tags(); exits"
- alanfluff on "What other functions like allowed_tags(); exits"