This documentation is only valid for older versions of Wordfence. If you are using Wordfence 7 or later, please visit our new documentation.
Wordfence API
From Wordfence Documentation
Wordfence provides a few functions to developers through the API calls listed here. Other functions and objects that are not listed here are subject to change in future versions of Wordfence.
- Provides the ability to import Wordfence settings on multiple sites. If you only need to export/import settings on a few sites, see Exporting and Importing Wordfence Settings on the Wordfence options page instead.
- Provides plugin and theme authors a way to whitelist the IP's of any external services that may need to access a site.
Depreciated API calls
- Prevents caching of the current page, if Wordfence caching is enabled. Wordfence no longer includes caching.