• metialb

    (@metialb)


    I am trying to change some code but I need a basic idea what the function start_wp ( ) does. I just don’t wanna go through searching for it and then try to understand it. I thought it would be shorter if someone here knows what it does and could explain in 1 or 2 sentences.

    Thanks

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    start_wp() is deprecated and should no longer be used.

    However, it basically does the same thing as the_post(). Use the_post() instead.

    To be more specific, it gets the next post from the database and then loads it into the various global variables (using setup_postdata ).

Viewing 1 replies (of 1 total)
  • The topic ‘start_wp ( ) function’ is closed to new replies.