پرش به محتویات

"Filter: bricks/code/echo_everywhere"

تعیین می‌کند که اگر تگ داده پویا {echo:} باید به صورت بازگشتی تجزیه شود، اگر در خروجی تگ داده پویا دیگری ظاهر شود. به طور پیش‌فرض، این به دلایل امنیتی و عملکرد غیرفعال است.

پارامترها

  • $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;
} );