Answers for "how to check post wordpress exists"

PHP
1

check if post id exists wordpress

post_exists(get_the_title($postID)); //returns $postID or 0
Posted by: Guest on June-20-2020

Code answers related to "how to check post wordpress exists"

Browse Popular Code Answers by Language