• Resolved tumutumu

    (@tumutumu)


    Is there a function to retrieve and display user information submitted through the review form?

    We would like to display statistical information about the attributes of the reviewer who submitted the review. For example, age, gender, occupation, etc. How can I easily see the statistics of what kind of users submitted reviews?

Viewing 1 replies (of 1 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    If the user is logged in when submitting a review, then their User ID will used as the author (i.e. post_author) of the review. The IP address of the user is also stored to the review unless this has been disabled with a filter hook (see the FAQ help page).

    There is no age, gender, occupation, etc. stored with the review. If the user has set these details in their user profile, then you could use WP_User_Query to get this information.

Viewing 1 replies (of 1 total)
  • The topic ‘I want to view the statistics of reviewers who posted reviews.’ is closed to new replies.