New answers tagged private
I'm confused by the answers. When I have "private" posts/pages, I cannot see them when I am logged in. I can only see them when I am the Admin. About the OP's question-- I use the WPDB class methods to extract post_content from the database selectively to bypass permissions: global $wpdb; //global wpdb class may not work everywhere... $post_id = (int) $...
Top 50 recent answers are included