Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-wpdesk-rating-petition
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-wpdesk-rating-petition
Commits
aaf886af
Commit
aaf886af
authored
3 years ago
by
Łukasz Spryszak
Browse files
Options
Downloads
Patches
Plain Diff
chore(readme): description fixes
parent
76b9f7e5
No related branches found
No related tags found
1 merge request
!5
chore(readme): description fixes
Pipeline
#3047
passed with stages
in 2 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-5
7 additions, 5 deletions
README.md
with
7 additions
and
5 deletions
README.md
+
7
−
5
View file @
aaf886af
...
...
@@ -4,8 +4,9 @@
[

](https://packagist.org/packages/wpdesk/wp-wpdesk-rating-petition)
[

](https://packagist.org/packages/wpdesk/wp-wpdesk-rating-petition)
WordPress Library to ask for good rate in repository.
====================================================
# Rating Petition
A WordPress library which can be used to encourage the plugin users to review and rate it in WordPress repository.
## Requirements
...
...
@@ -13,7 +14,7 @@ PHP 7.0 or later.
## Installation via Composer
In order to install the bindings via Composer run the following command:
In order to install the bindings via
[
Composer
](
http://getcomposer.org/
)
run the following command:
```
bash
composer require wpdesk/wp-wpdesk-rating-petition
...
...
@@ -21,7 +22,8 @@ composer require wpdesk/wp-wpdesk-rating-petition
## Example usage
### When using in shipping zones:
### To use it in the shipping zones area:
```
php
function
init_repository_rating
()
{
$time_tracker
=
new
\WPDesk\RepositoryRating\TimeWatcher\ShippingMethodInstanceWatcher
(
...
...
@@ -40,7 +42,7 @@ function init_repository_rating() {
}
```
###
When using in
shipping method:
###
To use it on the
shipping method
screen
:
```
php
<?php
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment