1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

wordpress hide custom comment types from dashboard

Discussion in 'PHP' started by stephan2307, Mar 9, 2015.

  1. #1

    Got a quick question.
    I have a wordpress site and we are using custom comment types to create content instead of using custom post types. Problem is that they are showing in the wordpress dashboard even though we don't want them to show up there.

    So we used pre_get_comments and managed to hide them but the comment count for the different views ( pending, trash etc ) are not getting affected by this. they still show the original count.

    Does anyone know how to solve this?
    stephan2307, Mar 9, 2015 IP