设置的数据键wp_localize_script最终会被调用覆盖$wp_scripts->add_data,而如果您wp_localize_script为同一脚本调用两次,则该字符串将被正确连接。 对。
確定! 回上一頁