Why do template tags not allow being returned?
-
I find it very irritating that you can’t define all tags to be returned rather than echoed.
I’m trying to re-work how comments are being processed in my theme, and now I can’t because I can’t return simple tags like comment_ID or comment_text – it’s not exactly hard to flag all tags with a true/false boolean to determine if the call wants it to be returned as echo or return does it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Why do template tags not allow being returned?’ is closed to new replies.