WordPress.org

Support

Support » How-To and Troubleshooting » Grab cached post info from WP Object Cache?

Grab cached post info from WP Object Cache?

  • 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

  • The topic ‘Grab cached post info from WP Object Cache?’ is closed to new replies.
Skip to toolbar