Orders::get_export_url()
Generate the export URL for exporting orders.
Return
(string) Relative URL for the export.
Source
File: src/Tickets/Commerce/Admin_Tables/Orders.php
public function get_export_url(): string {
return add_query_arg(
[
'orders_csv' => true,
'orders_csv_nonce' => wp_create_nonce( 'orders_csv_nonce' ),
]
);
}
Changelog
| Version | Description |
|---|---|
| 5.8.1 | Introduced. |