Render preview page title correctly
[MAILPOET-2743]
This commit is contained in:
committed by
Veljko V
parent
d81c0d490b
commit
2711a00f3e
@@ -35,7 +35,7 @@ class FormPreview {
|
||||
public function view(array $data) {
|
||||
$this->data = $data;
|
||||
$this->wp->addFilter('the_content', [$this,'renderContent'], 10);
|
||||
$this->wp->addFilter('the_title', [$this->formPreviewPage,'renderTitle'], 10);
|
||||
$this->wp->addFilter('the_title', [$this->formPreviewPage,'renderTitle'], 10, 2);
|
||||
$this->wp->addFilter('show_admin_bar', function () {
|
||||
return false;
|
||||
});
|
||||
|
Reference in New Issue
Block a user