Select Page

All of these functions are in the BeRocket_cart_suggestion class as static functions.

init ()

Function for initializing scripts.

admin_init ()

Function for initializing scripts and settings page in admin bar.

options ()

Add option page to admin menu.

br_get_template_part( $name = ” )

Get template part (for templates like the slider).

  • $name – template name

Default templates are placed in plugins folder woocommerce-products-of-day/templates.

To rewrite the template in your theme folder, create a folder with the name woocommerce-products_of_day and place a new template with identical name in this folder.