Filter: bricks/code/echo_everywhere
Filter: bricks/code/echo_everywhere
Section titled “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.
Parameters
Section titled “Parameters”$echo_everywhere(bool): Whether to allow recursive parsing of{echo:}tags. Default isfalse.
Example usage
Section titled “Example usage”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;} ); Was this page helpful?