Reply to thread

This should be a better solution:

[PHP]

if ($content instanceof \XF\Entity\Node)

{

    $route = $content->getRoute();

}

[/PHP]


Back
Top Bottom