Answers for "check if custom post type exists"

PHP
0

check if custom post type exists

post_exists(get_the_title($postID), '', '', $slug_post_type); //Returns $postID or 0
Posted by: Guest on June-20-2020

Browse Popular Code Answers by Language