We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a4f276 commit 85253d9Copy full SHA for 85253d9
1 file changed
TemplateEngineFactory.module.php
@@ -78,7 +78,7 @@ public function ready()
78
return;
79
}
80
$this->wire($this->get('api_var'), $engine);
81
- $this->addHookAfter('Page::render', $this, 'hookRender');
+ $this->addHookAfter('Page::render', $this, 'hookRender', array('priority'=>'100.01'));
82
// If the engine supports caching, attach hooks to clear the cache when saving/deleting pages
83
if (in_array('TemplateEngineCache', class_implements($engine))) {
84
$this->wire('pages')->addHookAfter('save', $this, 'hookClearCache');
0 commit comments