Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress get post by id

$post   = get_post( 123 ); // Where 123 is the ID
$output =  apply_filters( 'the_content', $post->post_content );
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #wordpress #post #id
ADD COMMENT
Topic
Name
9+5 =