WC_Brands::register_shortcodes()publicWC 1.0

Registers shortcodes.

Метод класса: WC_Brands{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WC_Brands = new WC_Brands();
$WC_Brands->register_shortcodes();

Код WC_Brands::register_shortcodes() WC 9.4.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' ) );
}