How to get the name of the current page view I'm trying to find a way to check the view name of the current page.

$views_page = views_get_page_view();
if (is_object($views_page)) {
    //get the view name
}


I haven't found any function that gives that information. Any suggestions?
views_get_page_view() returns a View object. The name should be stored in $views_page-&gt;name.