get the page content in wordpress

To get the page content in WordPress, you can use the get_the_content function. First, you need to obtain the post ID of the page you want to retrieve content from. Then, you can use the get_the_content function with the post ID as an argument to retrieve the content. Here is an example of how to use the get_the_content function:

$post_id = get_the_ID(); 
$page_content = get_the_content($post_id);
echo $page_content;