JCOre Limiter WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA Bitbucket
A rate limiting plugin. Adapted from: https://github.com/cedaro/wprestcop
★ 0stars
v1.1.2latest · never
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from Bitbucket with WP-CLI:
wp plugin install https://bitbucket.org/jcodigital/jco-limiter/get/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
JCO Rate Limiter
This is a plugin for restricting access to a/many WP REST API Endpoint.
Example for enabling rate limiting.
register_rest_route(
'v1/rate-limited',
'/rate-limited',
array(
'methods' => 'GET',
'callback' => 'rate_limit_me',
'permission_callback' => '__return_true',
'rate_limiter' => array(
'uses' => 5,
'interval' => 120,
),
)
);
Adding the rate_limiter array will enable ratelimiting.
Releases
5 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.