post_content not working for get_post()
-
This is the code I use, and the result i s blank:
$postID = 15; $thePost = get_post($postID); echo $thePost->post_content;
If I change post_content to post_title, it ouputs the title.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘post_content not working for get_post()’ is closed to new replies.