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

rest api - [Zapier + WP Webhooks Pro]: Custom Fields get cut off at first comma or semicolon

programmeradmin0浏览0评论

I'm using Zapier and WP Webhooks Pro to connect Google Sheet and WP to auto-publish posts for each row added to the spreadsheet.

It works like as expected and all fields, including custom fields, are populated correctly expect those that have a string with a comma and/or semicolon. Those get cut off.

Setting up the custom field in Zapier

Success output in Zapier after posting to WP

Custom field in WP (cut off after semicolon)

Any help/direction on how to fix this issue would so much appreciated.

I'm using Zapier and WP Webhooks Pro to connect Google Sheet and WP to auto-publish posts for each row added to the spreadsheet.

It works like as expected and all fields, including custom fields, are populated correctly expect those that have a string with a comma and/or semicolon. Those get cut off.

Setting up the custom field in Zapier

Success output in Zapier after posting to WP

Custom field in WP (cut off after semicolon)

Any help/direction on how to fix this issue would so much appreciated.

Share Improve this question asked Oct 11, 2019 at 17:24 sharkmountainsharkmountain 52 bronze badges 1
  • Please note that 3rd party plugins, such as WP Webhooks Pro, are considered off-topic here on WPSE. Should you have any questions regarding the setup, usage or customization of a 3rd party plugin, please contact the plugin author for support. – Antti Koskinen Commented Oct 12, 2019 at 8:54
Add a comment  | 

1 Answer 1

Reset to default 1

WP Webhooks Pro also accepts JSON constructs for more complex strings. Here's an example of how your meta_input can look like:

{"meta_key":"data:image/png;base64,iVBOR......."}

Simply paste that within your Zap and change the data:image/png;bse64,iVBOR....... to your dynamic value. :)

发布评论

评论列表(0)

  1. 暂无评论