I print out the page url
$site = site();
$page = $site->page();
echo $page->url();
When I do this inside a plugin I still got the root page, not the current one.
I print out the page url
$site = site();
$page = $site->page();
echo $page->url();
When I do this inside a plugin I still got the root page, not the current one.