Condition not working with function as expected

Hey Duncan,

did you allow your function to be used with the dynamic data echo tag?

add_filter( 'bricks/code/echo_function_names', function() {
  return [
    'sidebar_display',
  ];
} );

Best,

André