WC_Order::get_edit_order_url()publicWC 3.3.0

Get's the URL to edit the order in the backend.

Метод класса: WC_Order{}

Хуки из метода

Возвращает

Строку.

Использование

$WC_Order = new WC_Order();
$WC_Order->get_edit_order_url();

Список изменений

С версии 3.3.0 Введена.

Код WC_Order::get_edit_order_url() WC 8.7.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 );
}