acf/blocks/template_not_found_message
Usage
add_filter( 'acf/blocks/template_not_found_message', 'wp_kama_acf_blocks_template_not_found_message_filter' );
/**
* Function for `acf/blocks/template_not_found_message` filter-hook.
*
* @param $html
*
* @return
*/
function wp_kama_acf_blocks_template_not_found_message_filter( $html ){
// filter...
return $html;
}
- $html
- -
Where the hook is called
acf/blocks/template_not_found_message
acf/pro/blocks.php 1153
echo acf_esc_html( apply_filters( 'acf/blocks/template_not_found_message', '<p>' . __( 'The render template for this ACF Block was not found', 'acf' ) . '</p>' ) );