Cloudflare offers a WordPress Plugin that provides the following benefits:
- One-click WordPress-optimized settings
- Web application firewall (WAF) rulesets specific to WordPress (paid plans only)
- Automatic cache purge on website updates
- GUI within the WordPress plugin dashboard to toggle Cloudflare settings
Please note: The plugin only passes back the IP address at the WordPress layer. If you need IP address at the server level, please take a look at installing mod_cloudflare (or equivalent) on your server.
To install Cloudflare's WordPress plugin, please follow these instructions.