WC_Brands::__construct
__construct function.
Method of the class: WC_Brands{}
Hooks from the method
Returns
null. Nothing (null).
Usage
$WC_Brands = new WC_Brands(); $WC_Brands->__construct();
WC_Brands::__construct() WC Brands:: construct code WC 10.3.5
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();
}