wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_add_crossorigin_attributes is deprecated since version 7.2.0!
wp_add_crossorigin_attributes › WordPress Function
Seit7.1.0
Veraltet7.2.0
› wp_add_crossorigin_attributes ( $html )
| Parameter: |
|
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: |
Adds crossorigin="anonymous" to relevant tags in the given HTML string.
No longer modifies the HTML. UnderDocument-Isolation-Policy: isolate-and-credentialless cross-origin resources load without the
attribute, and adding it broke resources served without CORS headers.