WC_Brands::__construct()publicWC 1.0

__construct function.

Method of the class: WC_Brands{}

Hooks from the method

Return

null. Nothing (null).

Usage

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

WC_Brands::__construct() code WC 9.5.1

public function __construct() {
	$this->template_url = apply_filters( 'woocommerce_template_url', 'woocommerce/' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment

	add_action( 'plugins_loaded', array( $this, 'register_hooks' ), 11 );

	$this->register_shortcodes();
}