wp get post content by id
<?php
$post_id = 123; // Replace 123 with the desired post ID
$post = get_post($post_id);
if ($post) {
$content = $post->post_content;
// Now, $content variable holds the content of the post with the specified ID
// You can use $content as needed
} else {
// Post not found
}
?>