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=1&_wpnonce=6771d08ea3
            [name] => Invoice
        )

)