Jump to content

Can you render a page without calling hooks


neonwired
 Share

Recommended Posts

I'm using the page renderer to compile html emails as below. The problem is aoim hooks Page::render which causes an error. Is there any way to render a page without calling any hooks?

$page->render('emails/base.php', (array) $data), 'subject' => $page->get('subject|title')
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...