This documentation is only valid for older versions of Wordfence. If you are using Wordfence 7 or later, please visit our new documentation.

Difference between revisions of "Wordfence API"

From Wordfence Documentation
Jump to: navigation, search
(Created page with "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 versio...")
 
 
Line 1: Line 1:
 
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.
 
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.
 
* [[DoNotCache|wordfence::doNotCache()]]
 
::Prevents caching of the current page, if Wordfence caching is enabled.
 
  
 
* [[ImportSettings|wordfence::importSettings()]]
 
* [[ImportSettings|wordfence::importSettings()]]
Line 9: Line 6:
 
* [[WhitelistIP|wordfence::whitelistIP()]]
 
* [[WhitelistIP|wordfence::whitelistIP()]]
 
::Provides plugin and theme authors a way to whitelist the IP's of any external services that may need to access a site.
 
::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
 +
 +
* [[DoNotCache|wordfence::doNotCache()]]
 +
::Prevents caching of the current page, if Wordfence caching is enabled.  Wordfence no longer includes caching.

Latest revision as of 16:28, 22 March 2017

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.