Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julien731/wp-review-me
A lightweight library to include in your WordPress theme/plugin to ask the user to review it on WordPress.org
https://github.com/julien731/wp-review-me
wordpress wordpress-php-library
Last synced: 22 days ago
JSON representation
A lightweight library to include in your WordPress theme/plugin to ask the user to review it on WordPress.org
- Host: GitHub
- URL: https://github.com/julien731/wp-review-me
- Owner: julien731
- Created: 2016-04-02T04:03:31.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2024-07-11T12:38:36.000Z (7 months ago)
- Last Synced: 2025-01-06T19:13:55.408Z (29 days ago)
- Topics: wordpress, wordpress-php-library
- Language: PHP
- Size: 34.2 KB
- Stars: 34
- Watchers: 6
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP Review Me
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/julien731/WP-Review-Me/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/julien731/WP-Review-Me/?branch=develop)
*In order to comply with the WordPress.org guidelines, the EDD integration has been removed and the WooCommerce integration has been dropped.*
Are you distributing WordPress themes or plugins on WordPress.org? Then you know how important reviews are.
The bad thing with reviews is that, while unhappy users love to let the world know, happy users tend to forget reviewing your product.
How can you get more good reviews? Simply ask your users.
![WP Review Me](http://i.imgur.com/9oNGvm2.png)
## How It Works
Once instantiated, the library will leave an initial timestamp in the user's database.
When the admin is loaded, the current time is compared to the initial timestamp and, when it is time, an admin notice will kindly ask the user to review your product.
The admin notices can, of course, be dismissed by the user. It uses the [WP Dismissible Notices Handler library](https://github.com/julien731/WP-Dismissible-Notices-Handler) for handling notices.
#### Installation
The simplest way to use WP Review Me is to add it as a Composer dependency:
```
composer require julien731/wp-review-me
```### Example
Creating a new review prompt would look like that:
```
new WP_Review_Me( array( 'days_after' => 10, 'type' => 'plugin', 'slug' => 'my-plugin' ) );
```This is the simplest way of creating a review prompt. If you want to customize it further, a few advanced parameters are available.
You can see the documentation on the wiki page: https://github.com/julien731/WP-Review-Me/wiki