[RSS Feed/News] Can someone explain what the pipe symbol does?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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?

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom