Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if custom post type exists

post_exists(get_the_title($postID), '', '', $slug_post_type); //Returns $postID or 0
 
PREVIOUS NEXT
Tagged: #check #custom #post #type #exists
ADD COMMENT
Topic
Name
1+5 =