wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_sanitize_script_attributes › WordPress Function
Since5.7.0
Deprecatedn/a
› wp_sanitize_script_attributes ( $attributes )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
| Codex: |
Sanitizes an attributes array into an attributes string to be placed inside a `<script>` tag.
Automatically injects type attribute if needed. Used by {@see} and {@see}.Related Functions: wp_kses_uri_attributes, serialize_block_attributes, wp_pre_kses_block_attributes, sanitize_title, wp_initialize_site