Skip to content

Commit

Permalink
README: update test shield icon, update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fab120 committed Mar 7, 2023
1 parent 12e9ec6 commit c1be3ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Antispambot
[![Latest Version on Packagist](https://img.shields.io/packagist/v/webnuvola/antispambot.svg?style=flat-square)](https://packagist.org/packages/webnuvola/antispambot)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/webnuvola/antispambot/run-tests.yml?branch=main)](https://github.com/Webnuvola/antispambot/actions?query=branch%3Amain)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/webnuvola/antispambot/tests.yml?branch=main&style=flat-square)](https://github.com/Webnuvola/antispambot/actions?query=branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/webnuvola/antispambot.svg?style=flat-square)](https://packagist.org/packages/webnuvola/antispambot)

This package allows you to use the `antispambot` function outside of WordPress.
Expand Down Expand Up @@ -28,6 +28,8 @@ echo \Webnuvola\Antispambot\Antispambot::antispambot('demo@example.com');
// Example output: demo@example.com
```

Use `antispambot_html` function to return an instance of `Illuminate\Support\HtmlString` to use with Laravel framework.

## Documentation
`antispambot` on [WordPress Developer Resources](https://developer.wordpress.org/reference/functions/antispambot/).

Expand Down

0 comments on commit c1be3ba

Please sign in to comment.