init.php

yith_wcbsl_pr_init

Before init all main plugin functions



templates/bestseller.php

yith_wcbsl_before_bestseller_title

Place your code before the bestseller title


Params

 WC_Product $bestseller_product The product



yith_wcbsl_after_bestseller_title

Place your code after the bestseller title


Params

 WC_Product $bestseller_product The product



yith_wcbsl_after_bestseller_price

Place your code after the bestseller price


Params

 WC_Product $bestseller_product The product



templates/bestsellers.php

yith_wcbsl_rss_link

To this hook is attached the output of RSS link which include list of bestsellers


Params

 int $category_id the category ID

 bool $show_newest_bestsellers show/hide newest bestsellers