get( 'Version' ) ); } endif; add_action( 'wp_enqueue_scripts', 'java_st_enqueue_styles' ); if ( ! function_exists( 'java_st_pattern_categories' ) ) : function java_st_pattern_categories() { register_block_pattern_category( 'java-st', array( 'label' => __( 'Java St', 'java-st' ), ) ); } endif; add_action( 'init', 'java_st_pattern_categories' ); add_action( 'after_setup_theme', function() { remove_theme_support( 'core-block-patterns' ); add_editor_style( 'style.css' ); } ); add_action( 'init', function() { register_block_style( 'core/paragraph', array( 'name' => 'no-wrap', 'label' => __( 'No Wrap', 'java-st' ), ) ); register_block_style( 'core/paragraph', array( 'name' => 'java-pill', 'label' => __( 'Pill Label', 'java-st' ), ) ); } );