acf/blocks/pre_block_template_render action-hookACF 1.0

Usage

add_action( 'acf/blocks/pre_block_template_render', 'wp_kama_acf_blocks_pre_block_template_render_action', 10, 6 );

/**
 * Function for `acf/blocks/pre_block_template_render` action-hook.
 * 
 * @param  $block      
 * @param  $content    
 * @param  $is_preview 
 * @param  $post_id    
 * @param  $wp_block   
 * @param  $context    
 *
 * @return void
 */
function wp_kama_acf_blocks_pre_block_template_render_action( $block, $content, $is_preview, $post_id, $wp_block, $context ){
	// action...
}
$block
-
$content
-
$is_preview
-
$post_id
-
$wp_block
-
$context
-

Where the hook is called

acf_block_render_template()
acf/blocks/pre_block_template_render
acf/pro/blocks.php 1137
do_action( 'acf/blocks/pre_block_template_render', $block, $content, $is_preview, $post_id, $wp_block, $context );

Where the hook is used in Advanced Custom Fields PRO

acf/src/Pro/AI/GEO/Outputs/Blocks.php 53
add_action( 'acf/blocks/pre_block_template_render', array( $this, 'output_block_jsonld_data' ), 10, 6 );