0
我可以通過任何功能設置/獲取手機嗎?我想爲短信網關獲取電話號碼。請幫助。我試圖尋找無處不在,甚至用如何在woocommerce中設置/獲取電話?
echo $woocommerce->customer->get_phone();
echo $woocommerce->customer->get_billing_phone();
我可以通過任何功能設置/獲取手機嗎?我想爲短信網關獲取電話號碼。請幫助。我試圖尋找無處不在,甚至用如何在woocommerce中設置/獲取電話?
echo $woocommerce->customer->get_phone();
echo $woocommerce->customer->get_billing_phone();
u能訪問它:
$order = new WC_Order($order_id);
var_dump($order->billing_phone);
現在應該給你的電話號碼。