includes/class.yith-wcbsl-admin.php

yith_wcbsl_settings_admin_tabs

Filter default setttings admin tabs


Params

 array  $list list of tabs




Return
 array


includes/class.yith-wcbsl-bestsellers-widget.php

yith_wcbsl_widget_best_sellers

Filter the list of bestsellers products shown in widget


Params

 array $best_sellers list of products




Return
 array


yith_wcbsl_before_widget_bestsellers_list

Filter the HTML element shown just before the bestsellers list


Params

 string $html html content




Return
 string


yith_wcbsl_after_widget_bestsellers_list

Filter the HTML element shown just after the bestsellers list


Params

 string $html html content




Return
 string


includes/class.yith-wcbsl-frontend.php

yith_wcbsl_best_seller_icon_alt_text


Params

 string $text alt text




Return
 string


includes/class.yith-wcbsl-reports.php

yith_wcbs_remove_best_seller


Params

 bool $remove bool check, set it to remove the product




Return
 bool


yith_wcbs_get_best_sellers


Params

 array $best_sellers list of products

 string $range range of days within of which retrieve bestsellers list

 array $args list of args used to retrieve the list




Return
 array


plugin-options/settings-options.php

yith_wcbsl_panel_settings_options


Params

 array $settings list of options




Return
 array


templates/bestseller.php

yith_wcbsl_bestseller_thumbnail_html


Params

 string $image_html the image html

 int $thumb_id the thumbnail ID

 int $the_id the product ID




Return
 string


templates/bestsellers.php

yith_wcbsl_best_sellers

Filter the bestsellers list in the template bestsellers


Params

 array $best_sellers the bestsellers list




Return
 array


templates/pagination.php

yith_wcbsl_pagination_args


Params

 array $args the list of arguments




Return
 array