WordPress.org

Forums

wp_list_pages() and $wpdb (1 post)

  1. janit
    Member
    Posted 10 years ago #

    If you do a print_r on $wpdb after a wp_list_pages('child_of=33') for example.. you'll you got a lot more than you bargained for: the content and all :) Seems to use get_pages function which has a "SELECT *" in it.. Just pointing this out as it could cause performance trouble if you're using WP as a CMS. Especially if you'd happen to have long pages.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.