order_edit_form_tag
Fires inside the order edit form tag.
Usage
add_action( 'order_edit_form_tag', 'wp_kama_order_edit_form_tag_action' ); /** * Function for `order_edit_form_tag` action-hook. * * @param \WC_Order $order Order object. * * @return void */ function wp_kama_order_edit_form_tag_action( $order ){ // action... }
- $order(\WC_Order)
- Order object.
Changelog
Since 6.9.0 | Introduced. |
Where the hook is called
order_edit_form_tag
woocommerce/src/Internal/Admin/Orders/Edit.php 459
do_action( 'order_edit_form_tag', $this->order );