wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_script_add_data › WordPress Function
Since4.2.0
已弃用n/a
› wp_script_add_data ( $handle, $key, $value )
| 参数: (3) |
|
| 查看: |
|
| 返回: |
|
| 定义在: |
|
| 文档: | |
| Change Log: |
|
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'.Related Functions: wp_style_add_data, wp_get_script_tag, wp_strip_all_tags, wp_script_is, wp_print_script_tag