Skip to content
Get Bricks

Filter: bricks/code/echo_everywhere

Determines whether the {echo:} dynamic data tag should be parsed recursively if it appears within the output of another dynamic data tag. By default, this is disabled for security and performance reasons.

  • $echo_everywhere (bool): Whether to allow recursive parsing of {echo:} tags. Default is false.
add_filter( 'bricks/code/echo_everywhere', function( $echo_everywhere ) {
// Enable recursive parsing of {echo:} tags
// WARNING: Use with caution as this may lead to infinite loops or security vulnerabilities
return true;
} );