General Discussions
4
Posts
2
Users
1
Reactions
953
Views
Jun 15, 2022 11:54 am
I noticed that some wpforo functions echo directly, instead of returning a string.
For example wpforo_unread, wpforo_phrase, wpforo_topic_title, ecc
This can't allow developers to manipulate the value generated by the functions, nor allow to put save them in a variable.
There are versions of these functions that return string?
(moreover: there is a developer documentation? I didn't find it)
Thanks 🙂
3 Replies
Jun 23, 2022 12:40 pm
Up 😘
Jun 23, 2022 1:10 pm
Hi @mpanichi,
all of these Functions have argument named $echo, if you call the function with $echo argument = false it would not print the string, it will only return.
Jun 30, 2022 3:43 pm
Amazing 👍