WC_Brands_Block_Templates::__construct()
Constructor.
Метод класса: WC_Brands_Block_Templates{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Brands_Block_Templates = new WC_Brands_Block_Templates(); $WC_Brands_Block_Templates->__construct();
Код WC_Brands_Block_Templates::__construct() WC Brands Block Templates:: construct WC 9.6.1
public function __construct() { add_action( 'get_block_templates', array( $this, 'get_block_templates' ), 10, 3 ); add_filter( 'get_block_file_template', array( $this, 'get_block_file_template' ), 10, 3 ); add_filter( 'woocommerce_has_block_template', array( $this, 'has_block_template' ), 10, 2 ); }