I have a plugin that will send tutorial emails to our users. These tutorials are created in wordpress and stored in wp_posts table in the database.
Of course I could simply run a query to get the post and that's it. But is there a special built-in function that I can use to get the post content after Wordpress post processing?
I am thing of using get_post but I'm not sure if this is the best thing to do:
<?php $my_id = 7; $post_id_7 = get_post($my_id); $post_content = $post_id_7->post_content; ?>
Thanks for any tips.