تابع ووکامرسی woocommerce_reset_loop بازگردانی حلقه نمایش محصولات
تابع ووکامرسی woocommerce_reset_loop – بازگردانی و ریست حلقه نمایش محصولات پس از نمایش آن
Syntax – سینتکس
woocommerce_reset_loop();
Usage – نحوه استفاده
if ( !function_exists( 'woocommerce_reset_loop' ) ) { require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-template-functions.php'; } // NOTICE! Understand what this does before running. $result = woocommerce_reset_loop();
Defined – محل تعریف
/includes/wc-template-functions.php
function woocommerce_reset_loop() { $GLOBALS['woocommerce_loop'] = array( 'loop' => '', 'columns' => '', 'name' => '', ); }
versions – نسخه ها
از نسخه : 3.0.2
نسخه فعلی : 3.0.6
دیگر نسخه ها : 3.0.6 , 3.0.5 , 3.0.4 , 3.0.3 , 3.0.2
ارسال نظر