Last active
August 28, 2019 19:55
-
-
Save petertwise/f1343a371f66bde723071feb028ee664 to your computer and use it in GitHub Desktop.
WordPress kses default arrays
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$allowed_html = wp_kses_allowed_html( 'strip' ); | |
// empty array - strips all html | |
/* | |
Array(); | |
*/ | |
$allowed_html = wp_kses_allowed_html( 'data' ); | |
// generally looks like it allows all inline element and strips all block level elements | |
/* | |
Array | |
( | |
[a] => Array | |
( | |
[href] => 1 | |
[title] => 1 | |
) | |
[abbr] => Array | |
( | |
[title] => 1 | |
) | |
[acronym] => Array | |
( | |
[title] => 1 | |
) | |
[b] => Array | |
( | |
) | |
[blockquote] => Array | |
( | |
[cite] => 1 | |
) | |
[cite] => Array | |
( | |
) | |
[code] => Array | |
( | |
) | |
[del] => Array | |
( | |
[datetime] => 1 | |
) | |
[em] => Array | |
( | |
) | |
[i] => Array | |
( | |
) | |
[q] => Array | |
( | |
[cite] => 1 | |
) | |
[s] => Array | |
( | |
) | |
[strike] => Array | |
( | |
) | |
[strong] => Array | |
( | |
) | |
); | |
*/ | |
$allowed_html = wp_kses_allowed_html( 'post' ); | |
// very permissive - allows pretty much all HTML to pass | |
/* | |
Array | |
( | |
[address] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[a] => Array | |
( | |
[href] => 1 | |
[rel] => 1 | |
[rev] => 1 | |
[name] => 1 | |
[target] => 1 | |
[download] => Array | |
( | |
[valueless] => y | |
) | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[abbr] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[acronym] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[area] => Array | |
( | |
[alt] => 1 | |
[coords] => 1 | |
[href] => 1 | |
[nohref] => 1 | |
[shape] => 1 | |
[target] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[article] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[aside] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[audio] => Array | |
( | |
[autoplay] => 1 | |
[controls] => 1 | |
[loop] => 1 | |
[muted] => 1 | |
[preload] => 1 | |
[src] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[b] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[bdo] => Array | |
( | |
[dir] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[big] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[blockquote] => Array | |
( | |
[cite] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[br] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[button] => Array | |
( | |
[disabled] => 1 | |
[name] => 1 | |
[type] => 1 | |
[value] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[caption] => Array | |
( | |
[align] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[cite] => Array | |
( | |
[dir] => 1 | |
[lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[code] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[col] => Array | |
( | |
[align] => 1 | |
[char] => 1 | |
[charoff] => 1 | |
[span] => 1 | |
[dir] => 1 | |
[valign] => 1 | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[colgroup] => Array | |
( | |
[align] => 1 | |
[char] => 1 | |
[charoff] => 1 | |
[span] => 1 | |
[valign] => 1 | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[del] => Array | |
( | |
[datetime] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[dd] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[dfn] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[details] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[open] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[div] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[dl] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[dt] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[em] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[fieldset] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[figure] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[figcaption] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[font] => Array | |
( | |
[color] => 1 | |
[face] => 1 | |
[size] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[footer] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[h1] => Array | |
( | |
[align] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[h2] => Array | |
( | |
[align] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[h3] => Array | |
( | |
[align] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[h4] => Array | |
( | |
[align] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[h5] => Array | |
( | |
[align] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[h6] => Array | |
( | |
[align] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[header] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[hgroup] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[hr] => Array | |
( | |
[align] => 1 | |
[noshade] => 1 | |
[size] => 1 | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[i] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[img] => Array | |
( | |
[alt] => 1 | |
[align] => 1 | |
[border] => 1 | |
[height] => 1 | |
[hspace] => 1 | |
[longdesc] => 1 | |
[vspace] => 1 | |
[src] => 1 | |
[usemap] => 1 | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[ins] => Array | |
( | |
[datetime] => 1 | |
[cite] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[kbd] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[label] => Array | |
( | |
[for] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[legend] => Array | |
( | |
[align] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[li] => Array | |
( | |
[align] => 1 | |
[value] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[map] => Array | |
( | |
[name] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[mark] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[menu] => Array | |
( | |
[type] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[nav] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[p] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[pre] => Array | |
( | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[q] => Array | |
( | |
[cite] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[s] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[samp] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[span] => Array | |
( | |
[dir] => 1 | |
[align] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[section] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[small] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[strike] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[strong] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[sub] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[summary] => Array | |
( | |
[align] => 1 | |
[dir] => 1 | |
[lang] => 1 | |
[xml:lang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[sup] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[table] => Array | |
( | |
[align] => 1 | |
[bgcolor] => 1 | |
[border] => 1 | |
[cellpadding] => 1 | |
[cellspacing] => 1 | |
[dir] => 1 | |
[rules] => 1 | |
[summary] => 1 | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[tbody] => Array | |
( | |
[align] => 1 | |
[char] => 1 | |
[charoff] => 1 | |
[valign] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[td] => Array | |
( | |
[abbr] => 1 | |
[align] => 1 | |
[axis] => 1 | |
[bgcolor] => 1 | |
[char] => 1 | |
[charoff] => 1 | |
[colspan] => 1 | |
[dir] => 1 | |
[headers] => 1 | |
[height] => 1 | |
[nowrap] => 1 | |
[rowspan] => 1 | |
[scope] => 1 | |
[valign] => 1 | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[textarea] => Array | |
( | |
[cols] => 1 | |
[rows] => 1 | |
[disabled] => 1 | |
[name] => 1 | |
[readonly] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[tfoot] => Array | |
( | |
[align] => 1 | |
[char] => 1 | |
[charoff] => 1 | |
[valign] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[th] => Array | |
( | |
[abbr] => 1 | |
[align] => 1 | |
[axis] => 1 | |
[bgcolor] => 1 | |
[char] => 1 | |
[charoff] => 1 | |
[colspan] => 1 | |
[headers] => 1 | |
[height] => 1 | |
[nowrap] => 1 | |
[rowspan] => 1 | |
[scope] => 1 | |
[valign] => 1 | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[thead] => Array | |
( | |
[align] => 1 | |
[char] => 1 | |
[charoff] => 1 | |
[valign] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[title] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[tr] => Array | |
( | |
[align] => 1 | |
[bgcolor] => 1 | |
[char] => 1 | |
[charoff] => 1 | |
[valign] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[track] => Array | |
( | |
[default] => 1 | |
[kind] => 1 | |
[label] => 1 | |
[src] => 1 | |
[srclang] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[tt] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[u] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[ul] => Array | |
( | |
[type] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[ol] => Array | |
( | |
[start] => 1 | |
[type] => 1 | |
[reversed] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[var] => Array | |
( | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
[video] => Array | |
( | |
[autoplay] => 1 | |
[controls] => 1 | |
[height] => 1 | |
[loop] => 1 | |
[muted] => 1 | |
[poster] => 1 | |
[preload] => 1 | |
[src] => 1 | |
[width] => 1 | |
[aria-describedby] => 1 | |
[aria-details] => 1 | |
[aria-label] => 1 | |
[aria-labelledby] => 1 | |
[aria-hidden] => 1 | |
[class] => 1 | |
[id] => 1 | |
[style] => 1 | |
[title] => 1 | |
[role] => 1 | |
[data-*] => 1 | |
) | |
); | |
*/ | |
$allowed_html = wp_kses_allowed_html( 'entities' ); | |
// allows a list of HTML Entities such as | |
/* | |
Array | |
( | |
[0] => nbsp | |
[1] => iexcl | |
[2] => cent | |
[3] => pound | |
[4] => curren | |
[5] => yen | |
[6] => brvbar | |
[7] => sect | |
[8] => uml | |
[9] => copy | |
[10] => ordf | |
[11] => laquo | |
[12] => not | |
[13] => shy | |
[14] => reg | |
[15] => macr | |
[16] => deg | |
[17] => plusmn | |
[18] => acute | |
[19] => micro | |
[20] => para | |
[21] => middot | |
[22] => cedil | |
[23] => ordm | |
[24] => raquo | |
[25] => iquest | |
[26] => Agrave | |
[27] => Aacute | |
[28] => Acirc | |
[29] => Atilde | |
[30] => Auml | |
[31] => Aring | |
[32] => AElig | |
[33] => Ccedil | |
[34] => Egrave | |
[35] => Eacute | |
[36] => Ecirc | |
[37] => Euml | |
[38] => Igrave | |
[39] => Iacute | |
[40] => Icirc | |
[41] => Iuml | |
[42] => ETH | |
[43] => Ntilde | |
[44] => Ograve | |
[45] => Oacute | |
[46] => Ocirc | |
[47] => Otilde | |
[48] => Ouml | |
[49] => times | |
[50] => Oslash | |
[51] => Ugrave | |
[52] => Uacute | |
[53] => Ucirc | |
[54] => Uuml | |
[55] => Yacute | |
[56] => THORN | |
[57] => szlig | |
[58] => agrave | |
[59] => aacute | |
[60] => acirc | |
[61] => atilde | |
[62] => auml | |
[63] => aring | |
[64] => aelig | |
[65] => ccedil | |
[66] => egrave | |
[67] => eacute | |
[68] => ecirc | |
[69] => euml | |
[70] => igrave | |
[71] => iacute | |
[72] => icirc | |
[73] => iuml | |
[74] => eth | |
[75] => ntilde | |
[76] => ograve | |
[77] => oacute | |
[78] => ocirc | |
[79] => otilde | |
[80] => ouml | |
[81] => divide | |
[82] => oslash | |
[83] => ugrave | |
[84] => uacute | |
[85] => ucirc | |
[86] => uuml | |
[87] => yacute | |
[88] => thorn | |
[89] => yuml | |
[90] => quot | |
[91] => amp | |
[92] => lt | |
[93] => gt | |
[94] => apos | |
[95] => OElig | |
[96] => oelig | |
[97] => Scaron | |
[98] => scaron | |
[99] => Yuml | |
[100] => circ | |
[101] => tilde | |
[102] => ensp | |
[103] => emsp | |
[104] => thinsp | |
[105] => zwnj | |
[106] => zwj | |
[107] => lrm | |
[108] => rlm | |
[109] => ndash | |
[110] => mdash | |
[111] => lsquo | |
[112] => rsquo | |
[113] => sbquo | |
[114] => ldquo | |
[115] => rdquo | |
[116] => bdquo | |
[117] => dagger | |
[118] => Dagger | |
[119] => permil | |
[120] => lsaquo | |
[121] => rsaquo | |
[122] => euro | |
[123] => fnof | |
[124] => Alpha | |
[125] => Beta | |
[126] => Gamma | |
[127] => Delta | |
[128] => Epsilon | |
[129] => Zeta | |
[130] => Eta | |
[131] => Theta | |
[132] => Iota | |
[133] => Kappa | |
[134] => Lambda | |
[135] => Mu | |
[136] => Nu | |
[137] => Xi | |
[138] => Omicron | |
[139] => Pi | |
[140] => Rho | |
[141] => Sigma | |
[142] => Tau | |
[143] => Upsilon | |
[144] => Phi | |
[145] => Chi | |
[146] => Psi | |
[147] => Omega | |
[148] => alpha | |
[149] => beta | |
[150] => gamma | |
[151] => delta | |
[152] => epsilon | |
[153] => zeta | |
[154] => eta | |
[155] => theta | |
[156] => iota | |
[157] => kappa | |
[158] => lambda | |
[159] => mu | |
[160] => nu | |
[161] => xi | |
[162] => omicron | |
[163] => pi | |
[164] => rho | |
[165] => sigmaf | |
[166] => sigma | |
[167] => tau | |
[168] => upsilon | |
[169] => phi | |
[170] => chi | |
[171] => psi | |
[172] => omega | |
[173] => thetasym | |
[174] => upsih | |
[175] => piv | |
[176] => bull | |
[177] => hellip | |
[178] => prime | |
[179] => Prime | |
[180] => oline | |
[181] => frasl | |
[182] => weierp | |
[183] => image | |
[184] => real | |
[185] => trade | |
[186] => alefsym | |
[187] => larr | |
[188] => uarr | |
[189] => rarr | |
[190] => darr | |
[191] => harr | |
[192] => crarr | |
[193] => lArr | |
[194] => uArr | |
[195] => rArr | |
[196] => dArr | |
[197] => hArr | |
[198] => forall | |
[199] => part | |
[200] => exist | |
[201] => empty | |
[202] => nabla | |
[203] => isin | |
[204] => notin | |
[205] => ni | |
[206] => prod | |
[207] => sum | |
[208] => minus | |
[209] => lowast | |
[210] => radic | |
[211] => prop | |
[212] => infin | |
[213] => ang | |
[214] => and | |
[215] => or | |
[216] => cap | |
[217] => cup | |
[218] => int | |
[219] => sim | |
[220] => cong | |
[221] => asymp | |
[222] => ne | |
[223] => equiv | |
[224] => le | |
[225] => ge | |
[226] => sub | |
[227] => sup | |
[228] => nsub | |
[229] => sube | |
[230] => supe | |
[231] => oplus | |
[232] => otimes | |
[233] => perp | |
[234] => sdot | |
[235] => lceil | |
[236] => rceil | |
[237] => lfloor | |
[238] => rfloor | |
[239] => lang | |
[240] => rang | |
[241] => loz | |
[242] => spades | |
[243] => clubs | |
[244] => hearts | |
[245] => diams | |
[246] => sup1 | |
[247] => sup2 | |
[248] => sup3 | |
[249] => frac14 | |
[250] => frac12 | |
[251] => frac34 | |
[252] => there4 | |
); | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment