Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Unserialize data from PostNL plugin

$
0
0

Replies: 0

Hi,

I’m having trouble unserializing the data from the postnl plugin (https://nl.wordpress.org/plugins/woo-postnl/).
I want to get the delivery date. I can get all the delivery options, through the dropdown (https://imgur.com/X3zgENH), but it’s serialized data

a:4:{s:4:”date”;s:10:”2019-11-19″;s:4:”time”;a:1:{i:0;a:7:{s:5:”start”;s:8:”13:15:00″;s:3:”end”;s:8:”15:45:00″;s:12:”collect_date”;N;s:5:”price”;a:2:{s:8:”currency”;s:3:”EUR”;s:6:”amount”;i:0;}s:13:”price_comment”;s:8:”standard”;s:7:”comment”;s:0:””;s:4:”type”;i:2;}}s:9:”signature”;i:0;s:14:”only_recipient”;i:0;}

How can I get just the date (in this case ‘2019-11-19’) from this data?

Thanks in advance!


Viewing all articles
Browse latest Browse all 59525

Trending Articles