From 53609411363082df304b213fc9c3837f1d93e967 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 8 Jul 2019 12:35:15 +1000 Subject: [PATCH] Blocks not ready --- modules/sportspress-gutenberg.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/sportspress-gutenberg.php b/modules/sportspress-gutenberg.php index feec6b23..e23d5570 100644 --- a/modules/sportspress-gutenberg.php +++ b/modules/sportspress-gutenberg.php @@ -30,8 +30,8 @@ class SportsPress_Gutenberg { add_filter( 'gutenberg_can_edit_post_type', array( $this, 'can_edit_post_type' ), 10, 2 ); add_filter( 'use_block_editor_for_post_type', array( $this, 'can_edit_post_type' ), 10, 2 ); - add_filter( 'block_categories', array( $this, 'add_category' ), 10, 2 ); - add_action( 'enqueue_block_editor_assets', array( $this, 'load_blocks' ) ); + //add_filter( 'block_categories', array( $this, 'add_category' ), 10, 2 ); + //add_action( 'enqueue_block_editor_assets', array( $this, 'load_blocks' ) ); } /**