I'm embedding a View inside my custom module, using views_embed_view
From the docs for this function:
Note that this function does NOT display the title of the view. If you want to do that, you will need to do what this function does manually, by loading the view, getting the preview and then getting $view->get_title().
However, my View has no title, instead I've set my contextual filter to override the title (from the arguments in the url). How do I get this title?
Thanks
Edit: Here is a screengrab of my contextual filter settings. I'm actually currently using the default taxonomy_term view that comes with Views out of the box.