WooCommerce Code Reference

WC_Meta_Box_Order_Actions

WC_Meta_Box_Order_Actions Class.

Table of Contents

output()  : mixed
Output the metabox.
save()  : mixed
Save meta box data.
set_email_sent_message()  : string
Set the correct message ID.
get_available_order_actions_for_order()  : array<string|int, mixed>
Get the available order actions for a given order.

Methods

get_available_order_actions_for_order()

Get the available order actions for a given order.

private static get_available_order_actions_for_order(WC_Order|null $order) : array<string|int, mixed>
Parameters
$order : WC_Order|null

The order object or null if no order is available.

Tags
since
5.8.0
Return values
array<string|int, mixed>