From 580556fa8156339a65767f96e4f8e375be2515b6 Mon Sep 17 00:00:00 2001 From: guzmandrade-wds Date: Sun, 3 Sep 2023 10:10:51 -0500 Subject: [PATCH] the property we need to be override with ACF Pro is `render_callback` --- inc/wpcli/class-blocks-scaffold.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/wpcli/class-blocks-scaffold.php b/inc/wpcli/class-blocks-scaffold.php index c8baf45..a3a245d 100644 --- a/inc/wpcli/class-blocks-scaffold.php +++ b/inc/wpcli/class-blocks-scaffold.php @@ -294,7 +294,7 @@ function wds_acf_register_blocks() { register_block_type( $block, [ - 'render' => null, + 'render_callback' => null, ] ); } else {