WordPress.org

Ready to get started?Download WordPress

Forums

<?php get_page(); ?> (2 posts)

  1. millsy
    Member
    Posted 5 years ago #

    What exactly does the <?php get_page(); ?> function do, I am guessing it is something fairly simple and rudimentary but cant find an explanation anywhere?

  2. MichaelH
    Member
    Posted 5 years ago #

    From the wp-includes/post.php script:

    * get_page() - Retrieves page data given a page ID or page object

    Since get_page invokes get_post you might find useful info here:
    http://codex.wordpress.org/Function_Reference/get_post

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags