Select Page

All of these functions are static functions in the BeRocket_product_brand class.

init ()

Function for initializing scripts.

admin_init ()

Function for initialize scripts and settings page in the 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-brand/templates.

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

shortcode_brands_product_thumbnail ($atts)
  • brands_product_thumbnail –shortcode
  • $atts – shortcode attributes
shortcode_brands_info ($atts)
  • brands_info –shortcode
  • $atts – shortcode attributes
brands_by_name_shortcode ($atts)
  • brands_catalog (brands_by_name) – shortcode
  • $atts – shortcode attributes
brands_list_shortcode ($atts)
  • brands_list –shortcode
  • $atts – shortcode attributes
products_shortcode ($atts)
  • brands_products –shortcode
  • $atts – shortcode attributes