Home Forums Plugins WooCommerce Photo Reviews Detect if review has a image or not?

Detect if review has a image or not?

  • Author
    Posts
  • #115444

    Jaime Matos
    Participant

    Hello! I would like to ask, at the code level of the plugin, when a user submits a review, is there any differentiation between a review that is submited with a photo or a review that is submited without a photo?
    Because I am integrating WooCommerce with a Gamification points system, and I would like to know if there is any way to detect if the submited review has image VS no image, so that the user may get more points if he adds an image VS just simple review without image (This way we can motivate users to use images in their reviews)

    I would like to know if there is an existing function or action that is fired when the review is submited if it has an image or not, or some other way to detect if a image was submited or not.

    It would be great if you could give me a suggestion, help guide me in the right direction!

    Thank you in advance for the attention and advice!

You must be logged in to see replies to this topic. Click here to login or register