Array
(
 [view] => Array
 (
 [url] => https://smartthinking.org.uk/my-account/view-order/15978/
 [name] => View
 )  [invoice] => Array
 (
 [url] => https://smartthinking.org.uk/wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=invoice&order_ids=15978&my-account&_wpnonce=db060c1707
 [name] => Invoice
 )  )