Closed pedroborges closed 3 years ago
As discussed at #22. $page->modules() can now be used as an array or echoed as a string.
$page->modules()
I haven't tested other methods.
@pedroborges Thanks for the pull request ❤️
FYI: the modules() method was returning all the modules including drafts. I moved the token check from the renderModules() method and now it works fine 👍
modules()
renderModules()
As discussed at #22.
$page->modules()
can now be used as an array or echoed as a string.I haven't tested other methods.