WC_Brands::register_shortcodes
Registers shortcodes.
Method of the class: WC_Brands{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Brands = new WC_Brands(); $WC_Brands->register_shortcodes();
WC_Brands::register_shortcodes() WC Brands::register shortcodes code WC 10.6.2
public function register_shortcodes() {
add_shortcode( 'product_brand', array( $this, 'output_product_brand' ) );
add_shortcode( 'product_brand_thumbnails', array( $this, 'output_product_brand_thumbnails' ) );
add_shortcode( 'product_brand_thumbnails_description', array( $this, 'output_product_brand_thumbnails_description' ) );
add_shortcode( 'product_brand_list', array( $this, 'output_product_brand_list' ) );
add_shortcode( 'brand_products', array( $this, 'output_brand_products' ) );
}