Get page->parent name?
-
Hi, can anyone please tell me how to get page->parent’s name.
I can only get it’sid
$page = get_queried_object(); $pageparent = $page->post_parent;
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get page->parent name?’ is closed to new replies.