WordPress.org

Ready to get started?Download WordPress

Forums

Private Comments (2 posts)

  1. Jatinder Pal Singh
    Member
    Posted 1 year ago #

    Is there any way to make comments private. It should be shown to either to admins or to the registered users who have made that comment.
    Can somebody guide me how to achieve this task?

  2. shadez
    Member
    Posted 1 year ago #

    try:

    if ( current_user_can('read') )
    comments_template( '', true );

    this fn supports roles.. but WP suggests not using it. your call.. ;)

Topic Closed

This topic has been closed to new replies.

About this Topic