[wp-trac] [WordPress Trac] #1363: A Way to check if page is children
WordPress Trac
noreply at wordpress.org
Sat Nov 15 18:09:50 UTC 2025
#1363: A Way to check if page is children
--------------------------+----------------------
Reporter: DeadPOet | Owner: ryan
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Optimization | Version: 1.5.1.1
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Comment (by odelpalh9y):
I coded a quick little function to see if some page is the children of
another page. This is especially usable when using Dynamic Menu
Highlighting (you would wand to highlight also when a child page is used).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/1363#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list