Skip to content

Commit

Permalink
Update info & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienho committed Mar 22, 2024
1 parent 5fffbde commit a749cd6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

### 1.8.0

- Adds autoload declaration
- Adds `wp-reporting-encode-email` bin command

### 1.7.0

- Highlight new projects in the settings page
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ composer require agencenous/wp-reporting
<?php

add_action ('plugins_loaded', function(){
require 'vendor/agencenous/wp-reporting/src/wp-reporting.php';
require 'vendor/autoload.php';

// Register each project
\WPReporting()->register('project-name', [
Expand Down Expand Up @@ -85,6 +85,12 @@ Emails are sent using the `wp_mail()` function.
Calling `WPReporting()` will automatically add a setting page in the Wordpress dashboard to let admin enable/disable error reporting for each registered project.
Reports will only be sent if the admin has enabled it.

after installing wp-reporting, you can use the bin command to encode an email address:

```bash
vendor/bin/wp-reporting-encode-email xxxxx@xx.xx
```

## Moreover

Enable settings on network in a multisite context.
Expand Down

0 comments on commit a749cd6

Please sign in to comment.