我正在使用Woocommerce,并且已添加此过滤器
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 400;
}
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 400, 2 );
在functions.php上
一切正常,但是当我将网站从http迁移到https却没有任何效果时,可能是什么问题?
谢谢