mobile : 09359556950
telegram : @karimeh_net
whatsapp : 09359556950
شما در حال مشاهده تمام مطالب با کلمه کلیدی "
product_cat
" هستید. [تعداد پست ها با این کلمه کلیدی : 1 مطلب]-
دریافت و نمایش لیست مصحولات بر اساس آخرین ساب کتگوری در یک وب سایت ووکامرسی add_filter( 'woocommerce_related_products', 'woocommerce_get_direct_related_products' ); function woocommerce_get_direct_related_products($args) { global $woocommerce, $product; // Related products are found from category $cats_array = array(0); // Get categories $terms = wp_get_post_terms( $product->id, 'product_cat' ); ...