Skip to content

Instantly share code, notes, and snippets.

@tedw
Created February 13, 2024 22:05
Show Gist options
  • Save tedw/f86cb8851c05ba35cbda8d1bcc6aa81b to your computer and use it in GitHub Desktop.
Save tedw/f86cb8851c05ba35cbda8d1bcc6aa81b to your computer and use it in GitHub Desktop.
List of elements and attributes returned by `wp_kses_allowed_html('post')`
a
abbr
acronym
address
align
alt
area
aria-controls
aria-current
aria-describedby
aria-details
aria-expanded
aria-hidden
aria-label
aria-labelledby
aria-live
article
aside
audio
autoplay
axis
b
bdo
bgcolor
big
blockquote
border
br
button
caption
cellpadding
cellspacing
char
charoff
cite
class
code
col
colgroup
color
cols
colspan
controls
coords
data
data-*
datetime
dd
default
del
details
dfn
dir
disabled
div
dl
download
dt
em
face
fieldset
figcaption
figure
font
footer
for
h1
h2
h3
h4
h5
h6
header
headers
height
hgroup
hidden
hr
href
hspace
i
id
img
ins
kbd
kind
label
lang
legend
li
loading
longdesc
loop
main
map
mark
menu
muted
name
nav
nohref
noshade
nowrap
object
ol
open
p
playsinline
poster
pre
preload
q
rb
readonly
rel
required
rev
reversed
role
rows
rowspan
rp
rt
rtc
ruby
rules
s
samp
scope
section
shape
size
small
span
src
srclang
start
strike
strong
style
sub
summary
sup
table
target
tbody
td
textarea
tfoot
th
thead
title
tr
track
tt
type
u
ul
usemap
valign
value
valueless
values
value_callback
var
video
vspace
width
xml:lang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment