woocommerce_get_edit_order_url filter-hook . WC 3.3.0
Get's the URL to edit the order in the backend.
Usage
add_filter( 'woocommerce_get_edit_order_url', 'filter_function_name_4594', 10, 2 ); function filter_function_name_4594( $admin_url, $that ){ // filter... return $admin_url; }
- $admin_url
- -
- $that
- -
Changelog
Since 3.3.0 | Introduced. |
Where the hook is called
woocommerce_get_edit_order_url
woocommerce/includes/class-wc-order.php 1668
return apply_filters( 'woocommerce_get_edit_order_url', get_admin_url( null, 'post.php?post=' . $this->get_id() . '&action=edit' ), $this );