WordPress.org

Forums

Grab cached post info from WP Object Cache? (1 post)

  1. 1mil
    Member
    Posted 6 years ago #

    Maybe im misunderstanding how wp_cache_get works, but I wanted to be able to have an array of post ids from the loop.

    I thought I could just grab elements from WP CACHE OBJECT since it seemed to return these posts but I cant figure out how to access them.

    wp_cache_get("posts") does not return the subarray of posts. So I'm lost.

    Anyone know how to do this?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.