{"id":1957,"date":"2025-12-03T11:54:17","date_gmt":"2025-12-03T12:54:17","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=1957"},"modified":"2025-12-03T17:38:56","modified_gmt":"2025-12-03T17:38:56","slug":"how-to-send-array-as-properties-on-custom-events","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/12\/03\/how-to-send-array-as-properties-on-custom-events\/","title":{"rendered":"How to send array as properties on custom events"},"content":{"rendered":"

Hello,<\/P>

\u00a0<\/P>

I am new to custom events and we would like to send from our webshop an array of products (basic info like product name, product id and quantity) for abandoned carts.<\/P>

\u00a0<\/P>

Is this possible to send this to a custom event? It seems I can only define properties such as string, timestamp, enumeration, etc.<\/P>

Thanks!<\/P>

\u00a0<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

Hello,\u00a0I am new to custom events and we would like to send from our webshop an array of products (basic info like product name, product id and quantity) for abandoned carts.\u00a0Is this possible to send this to a custom event? It seems I can only define properties such as string, timestamp, enumeration, etc.Thanks!\u00a0<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1957"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=1957"}],"version-history":[{"count":1,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1957\/revisions"}],"predecessor-version":[{"id":1958,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1957\/revisions\/1958"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=1957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=1957"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=1957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}