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
Return
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 9.6.1
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 ); }