WC_Order::get_edit_order_url
Get's the URL to edit the order in the backend.
Метод класса: WC_Order{}
Хуки из метода
Возвращает
string.
Использование
$WC_Order = new WC_Order(); $WC_Order->get_edit_order_url();
Список изменений
| С версии 3.3.0 | Введена. |
Код WC_Order::get_edit_order_url() WC Order::get edit order url WC 11.2.2
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 );
}