I have a plugin that is called when an article is saved and uses the code:
$article_url = JRoute::_(ContentHelperRoute::getArticleRoute($id_slug, $cat_slug, $sec_slug));
to get the article URL. From the backend, this gives the non-SEF url, while from the frontend this gives the SEF url. I'm wondering if there is a way to get the SEF url using the plugin even when I'm in the backend?
Thanks!