WC_Brands::__construct
__construct function.
Метод класса: WC_Brands{}
Хуки из метода
Возвращает
null. Ничего (null).
Использование
$WC_Brands = new WC_Brands(); $WC_Brands->__construct();
Код WC_Brands::__construct() WC Brands:: construct WC 10.4.3
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();
}