Core Function
View Source on Trac ↗ _wp_add_global_attributes()
_wp_add_global_attributes( mixed $value ) Helper function to add global attributes to a tag in the allowed HTML list.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $value array | An array of attributes. Required |
Return Value
(array)
The array of attributes with global attributes added.
Function Information
Since Version
3.5.0
Source File
wp-includes/kses.php
Advertisement