Consider that the child page is subpage_anything_1
to check if we are on that page we can use strpos
to the requested URI
strpos($_SERVER['REQUEST_URI'],"subpage_anything_1");
Consider that the child page is subpage_anything_1
to check if we are on that page we can use strpos
to the requested URI
strpos($_SERVER['REQUEST_URI'],"subpage_anything_1");