2.9: change to get_children() ?
-
In Version 2.8.x of WordPress, this worked:
global $post; $children = get_children("post_parent=" . $post->ID); foreach ($children as $child) { $p = get_page($child); $t = strtolower($p->post_title); // Title points at pageID $childID[$t] = $child->ID; };
But in Version 2.9, the second to last line had to be changed to
= $child;
Anyone have any information on this change?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘2.9: change to get_children() ?’ is closed to new replies.