最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Escape commas in REST API

programmeradmin2浏览0评论

Sending metadata through the REST API like this, is creating multiple entries because of the commas

meta: {
plugin_rule_what: 'discount_percentage',
plugin_rule_applies_multiple_options:'product_22119, product_22283',
}

However, I need this to be entered as a string with commas in the database.

Is there a way to escape them or otherwise do this?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论