WordPress.org

Support

Support » How-To and Troubleshooting » Private Comments

Private Comments

  • 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?

Viewing 1 replies (of 1 total)
  • try:

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

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

Viewing 1 replies (of 1 total)
  • The topic ‘Private Comments’ is closed to new replies.
Skip to toolbar