wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_script_add_data › WordPress Function
Seit4.2.0
Veraltetn/v
› wp_script_add_data ( $handle, $key, $value )
| Parameter: (3) |
|
| Siehe: |
|
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: | |
| Changelog: |
|
Adds metadata to a script.
Works only if the script has already been registered. Possible values for $key and $value: 'strategy' string 'defer' or 'async'.Ähnliche Funktionen: wp_style_add_data, wp_strip_all_tags, wp_get_script_tag, wp_script_is, wp_print_script_tag