Can someone explain what the pipe symbol does?

T

tomdav

Guest
Member
For example, in "Let's build an add on"

Let's build an add-on - XenForo 2 Documentation

xenforo.com
xenforo.com

<li>{{ phrase('replies:') }} {$thread.reply_count|number}</li>

What does the | (pipe) symbol do? Is it defining how to format the output?

Similarly:

title="{{ phrase('more_options')|for_attr }}"

for_attr??? Is this documented anywhere?
 
BlackSpigot General Chat
Rules Help Users
    xYuriko @ xYuriko: Why plugins are free here strange question lol
    Top