Answers for "get content by page id"

PHP
1

Get the content of a specific page (by ID)

$id=352; 
	$post = get_post($id); 
	$content = apply_filters('the_content', $post->post_content); 
	echo $content;
Posted by: Guest on June-15-2020

Browse Popular Code Answers by Language