I'm trying to build a custom form using UserFrontend on wordpress and I need to copy an array from one of the known meta keys from WooCommerce. Only thing is I'm not sure how to approach this issue as each field only returns one value. What I really need is to for the user to enter in a date range and translate into part of an array for this meta key value.
I've tried creating custom field groups but they don't show up in UserFrontend
this is what I need it too look like...
_wc_booking_availability (this is the meta key)
This is the returned value:
array ( 0 => array ( 0 => array ( 'type' => 'custom', 'bookable' => 'yes', 'priority' => 10, 'from' => '2019-05-13', //this was set using a date picker 'to' => '2019-05-27', ), ), )