Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if post exists by id wordpress

if ( get_post_status ( $post_id ) ) {
    // do stuff
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #post #exists #id #wordpress
ADD COMMENT
Topic
Name
3+4 =