diff --git a/includes/core/classes/class-assets.php b/includes/core/classes/class-assets.php index e13223e8b..12933325b 100644 --- a/includes/core/classes/class-assets.php +++ b/includes/core/classes/class-assets.php @@ -95,7 +95,7 @@ protected function setup_hooks(): void { // Set priority to 11 to not conflict with media modal. add_action( 'admin_footer', array( $this, 'event_communication_modal' ), 11 ); - add_filter( 'render_block', [ $this, 'maybe_enqueue_styles' ], 10, 2 ); + add_filter( 'render_block', array( $this, 'maybe_enqueue_styles' ), 10, 2 ); } /**