get( 'Version' ) ); wp_enqueue_style( 'dashicons' ); } add_action('enqueue_block_assets', function (): void { wp_enqueue_style('dashicons'); }); add_action( 'wp_enqueue_scripts', 'bizfse_theme_scripts' ); add_editor_style( 'style.css' ); // Add this line to enqueue the editor style. // register own theme pattern function bizfse_register_pattern_category() { $patterns = array(); $block_pattern_categories = array( 'bizfse' => array( 'label' => __( 'Biz FSE', 'bizfse' ) ) ); $block_pattern_categories = apply_filters( 'bizfse_block_pattern_categories', $block_pattern_categories ); foreach ( $block_pattern_categories as $name => $properties ) { if ( ! WP_Block_Pattern_Categories_Registry::get_instance()->is_registered( $name ) ) { register_block_pattern_category( $name, $properties ); } } } add_action( 'init', 'bizfse_register_pattern_category'); // Admin Info require get_template_directory() . '/class/admin-info.php'; //recommend plugins require get_theme_file_path( '/inc/tgm-plugin/tgmpa-hook.php' );