$wv->page_info object
Object page_info contains info about the current page
$wv->page_info->skeleton_above; //Full path of the “above” page (header of the page)
$wv->page_info->skeleton_below; //Full path of the page “below” (page footer)
$wv->page_info->content; //Complete path of the content page
$wv->page_info->page_id; //ID of the page
$wv->page_info->permalink; //Permalink of the page
$wv->page_info->file_name; //File name of the file that generates the page
$wv->page_info->alias; //Page name in the URL, e.g. https://domain.tld/mipagina
$wv->page_info->group; //ID of the page group
$wv->page_info->group_up; //ID of the preceding group
$wv->page_info->dir; //Full path of the page directory with the trailing slash
$wv->page_info->_dir; //Full path of the page's directory without the trailing slash
$wv->page_info->last_dir; //Directory where the php page of the content is located
$wv->page_info->page_title; //Page title
$wv->page_info->meta_description; //Page meta description
$wv->page_info->http_header; //Status HTTP header sent to the browser
$wv->page_info->trail_id; //ID of the preceding page (if assigned)
$wv->page_info->owner_id; //ID of the page owner
$wv->page_info->priority; //Priority of page in sitemap.xlm
$wv->page_info->no_header; //true if the page should be generated without headers
$wv->page_info->https; //SLSS loading: 0 = no change | 1 = force https | 2 = force http
$wv->page_info->virtual; //True if it is a virtual page, contains the value assigned at creation
$wv->page_info->virtual_id; //ID of the virtual page
$wv->page_info->valias; //Virtual alias name
$wv->page_info object example of (https://domain.tld/example)
(
[skeleton_above] => /var/www/domain.tld/htdocs/skeleton/above.php
[skeleton_below] => /var/www/domain.tld/htdocs/skeleton/below.php
[content] => /var/www/domain.tld/htdocs/phpfiles/example.php
[page_id] => 100
[file_name] => example.php
[alias] => example
[group] => 3
[group_up] => 0
[dir] => /var/www/domain.tld/htdocs/phpfiles/
[_dir] => /var/www/domain.tld/htdocs/phpfiles
[last_dir] => phpfiles
[page_title] => Example PHP file
[meta_description] => Some example page
[http_header] => 200 OK
[trail_id] => 0
[owner_id] => 1
[priority] => 5
[no_header] => 0
[https] => 0
[virtual] => ?var=somevalue&othervar=othervalue
[virtual_id] => 3
[valias] => example
)