Inventory_Presser_Blocks::hooks()
hooks
Contents
Description Description
Adds hooks
Return Return
(void)
Source Source
File: includes/class-blocks.php
function hooks() { add_action( 'enqueue_block_editor_assets', array( $this, 'register_block_types' ) ); add_filter( 'block_categories_all', array( $this, 'add_category' ), 10, 2 ); }
Expand full source code Collapse full source code View on Github