check if post id exists wordpress

Solutions on MaxInterview for check if post id exists wordpress by the best coders in the world

showing results for - "check if post id exists wordpress"
Salvatore
27 Jan 2021
1post_exists(get_the_title($postID)); //returns $postID or 0