| 1 |
# Jetpack IP Package |
| 2 |
|
| 3 |
Utilities for working with IP addresses. |
| 4 |
|
| 5 |
## Usage |
| 6 |
|
| 7 |
```php |
| 8 |
use Automattic\Jetpack\IP\Utils; |
| 9 |
|
| 10 |
echo "Your IP address is: " . Utils::get_ip(); |
| 11 |
``` |
| 12 |
|
| 13 |
## Using this package in your WordPress plugin |
| 14 |
|
| 15 |
If you plan on using this package in your WordPress plugin, we would recommend that you use [](https://packagist.org/packages/automattic/jetpack-autoloaderJetpack Autoloader](https://packagist.org/packages/automattic/jetpack-autoloader](https://packagist.org/packages/automattic/jetpack-autoloader) as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well. |
| 16 |
|
| 17 |
## Security |
| 18 |
|
| 19 |
Need to report a security vulnerability? Go to [](https://automattic.com/security/https://automattic.com/security/](https://automattic.com/security/](https://automattic.com/security/) or directly to our security bug bounty site [](https://hackerone.com/automattichttps://hackerone.com/automattic](https://hackerone.com/automattic](https://hackerone.com/automattic). |
| 20 |
|
| 21 |
## License |
| 22 |
|
| 23 |
IP is licensed under [](./LICENSE.txtGNU General Public License v2 (or later)](./LICENSE.txt](./LICENSE.txt) |
| 24 |
|
| 25 |
|