Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wc php order view order link

$order = wc_get_order(109);
$public_view_order_url = esc_url( $order->get_view_order_url() );
echo $public_view_order_url; //http://example.com/my-account/view-order/109/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wc #php #order #view #order #link
ADD COMMENT
Topic
Name
7+1 =