We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Cleaning all prepended title

I need a way to clear all previously prepended title in my MVC application. I tried to use Phalcon\Tag::resetInput(), but it's depreicated and showing errors. Any other way to do it?

edited Jul '18

Hey you can use Tag::setTitle(""), Tag::appendTitle(null) and Tag::prependTitle(null) to reset the document title

Good luck