Skip to content

Smarty Studio - Auto Approve Product Reviews for WooCommerce is a plugin that allows you to automatically approve product reviews in your WooCommerce store based on a minimum rating threshold that you can set in the settings.

License

Notifications You must be signed in to change notification settings

mnestorov/smarty-auto-approve-product-reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartyStudio Logo

Smarty Studio - Auto Approve Product Reviews for WooCommerce

Licence

Overview

Smarty Studio - Auto Approve Product Reviews for WooCommerce is a plugin that allows you to automatically approve product reviews in your WooCommerce store based on minimum ratings you can set in the settings.

Features

  • Automatically approve product reviews based on multiple minimum ratings.
  • Automatically approve existing pending reviews based on selected ratings.
  • Easy to configure through WooCommerce settings.
  • Option to disable auto-approval.
  • Supports WooCommerce's built-in review system.
  • Translation ready

Installation

  1. Upload the plugin files to the /wp-content/plugins/smarty-auto-approve-product-reviews directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

Usage

  1. Navigate to WooCommerce settings and click on the 'Products' tab.
  2. Scroll down to the 'Auto Approve Rating' setting.
  3. Select the minimum ratings required for automatic approval of reviews.
  4. Save the settings.

Hooks and Customization

Filters

  • woocommerce_get_settings_products: Modify WooCommerce product settings.
  • pre_comment_approved: Hook to approve comments before they are saved.

Functions

  • smarty_auto_approve_reviews_settings: Adds settings for auto-approving reviews.
  • smarty_auto_approve_reviews_check: Checks and approves reviews based on rating.
  • smarty_auto_approve_reviews_action_links: Adds a settings link in the plugin list.
  • smarty_auto_approve_reviews_on_activation: Sets default options on plugin activation and schedules the review approval task.
  • smarty_auto_approve_reviews_on_deactivation: Clears the scheduled review approval task on deactivation.
  • smarty_auto_approve_reviews_init: Loads the text domain for translations.
  • smarty_auto_approve_pending_reviews: Approves pending reviews based on the selected ratings.

Requirements

  • WordPress 4.7+ or higher.
  • WooCommerce 5.1.0 or higher.
  • PHP 7.2+

Changelog

For a detailed list of changes and updates made to this project, please refer to our Changelog.

Contributing

Contributions are welcome. Please follow the WordPress coding standards and submit pull requests for any enhancements.


License

This project is released under the GPL-2.0+ License.

About

Smarty Studio - Auto Approve Product Reviews for WooCommerce is a plugin that allows you to automatically approve product reviews in your WooCommerce store based on a minimum rating threshold that you can set in the settings.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages