Answers for "if post id exists wordpress"

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

Browse Popular Code Answers by Language