阅读背景:

为什么我无法通过Ajax获取WP自定义字段值或发布ID?

来源:互联网 

I wrote a code that generate a link based on the visitor location and it worked perfectly but i discovered that the generated code get cached since i'm using a full page caching so i though to solve that issue i can use ajax to load that link. I used the below code which worked perfectly in getting some variables that i need such as location variable and link domain variable etc.. however i'm unable to get the WooCommerce custom field data or even the product id it just return blank.I wrote a code that generate a link based on th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: