2013-02-13, 06:40:52
yeah or you can use return_page_slug()
my bad was just copying psuedocode
PHP Code:
function return_page_slug() {
return get_page_slug(FALSE);
}
my bad was just copying psuedocode