New answers tagged

1 vote

Is there an Event that detects when all templates have been processed?

Yahtzee. use craft\web\View; use yii\base\Event; ... Event::on(View::class, View::EVENT_AFTER_RENDER_PAGE_TEMPLATE, function (Event $event) { // do things }); https://docs.craftcms.com/api/v3/...
  • 468

Top 50 recent answers are included