Seperating custom post type comments from regular blog posts comments

It’s not well documented, but according to the codex, you can pass a ‘type’ variable in the get_comments function. Give this a shot

$comments = get_comments('number=10&status=approve&type=YOUR_POST_TYPE');

Leave a Comment

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduedusedueduseduedueduseduedu