WC_Order::get_edit_order_url
Get's the URL to edit the order in the backend.
Method of the class: WC_Order{}
Hooks from the method
Returns
String.
Usage
$WC_Order = new WC_Order(); $WC_Order->get_edit_order_url();
Changelog
| Since 3.3.0 | Introduced. |
WC_Order::get_edit_order_url() WC Order::get edit order url code WC 10.5.0
public function get_edit_order_url() {
$edit_url = \Automattic\WooCommerce\Utilities\OrderUtil::get_order_admin_edit_url( $this->get_id() );
/**
* Filter the URL to edit the order in the backend.
*
* @since 3.3.0
*/
return apply_filters( 'woocommerce_get_edit_order_url', $edit_url, $this );
}