Starting at Bricks 1.9.7, you must explicitly allow any function names you want to call via Bricks’ dynamic data echo tag using the new bricks/code/echo_function_names filter. You can add this to your Bricks child theme or the code snippet plugin of your choice.
add_filter( 'bricks/code/echo_function_names', function() {
return [
'my_custom_function',
'another_custom_function',
];
} );add_filter( 'bricks/code/echo_function_names', function($function_name) {
return [
'@^brx_', // Allow all functions that start with "brx_"
];
} );Source:
