WordPress.org

Support

Support » How-To and Troubleshooting » How can I tell if a comment is from a registered user?

How can I tell if a comment is from a registered user?

Viewing 1 replies (of 1 total)
  • Jeremy Clark

    @jeremyclark13

    Member

    You can try this code as a start

    <?php if ($comment->user_id) { ?>
    Custom Code here
    <?php } ?>

    This is untested code.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I tell if a comment is from a registered user?’ is closed to new replies.
Skip to toolbar