| 开发者 | ahmedrupt |
|---|---|
| 更新时间 | 2026年10月14日 01:36 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
access on every front-end page view by a signed-in user.login on the first page a user loads after signing in.signup on the first page a newly registered user loads.rupt_evaluate('purchase', ['metadata' => ['order_id' => $order_id]]);
Or run one immediately from JavaScript:
window.rupt.evaluate('purchase', { metadata: { order_id: '1234' } });
Filters
rupt_should_run: return false to skip Rupt on a request.rupt_load_for_visitors: return true to load the script for signed-out visitors.rupt_user_metadata: change the metadata attached to the signed-in user.rupt_loader_config: change the whole loader config before it is printed.cdn.rupt.dev on your front end. That script sends the signed-in user's WordPress user ID, email address, display name, roles, optional phone number, page URL, and device and browser characteristics to the Rupt API at ap3.rupt.dev (or the API domain you set in Settings → Rupt) on page views, logins, and registrations.
Service provided by Rupt: terms of service, privacy policy.
allow and nobody is ever challenged.Whatever your policies look for. Rupt supplies the signals: how many devices an account touches, whether two of them are active at once, whether the browser is automated, whether the email is disposable, whether the IP is a datacenter or VPN, whether the signup looks like the last twelve signups. You decide which combinations are worth challenging.
Yes. Rupt recognizes the devices behind each account, so when two people use one login it sees concurrent sessions on unrelated devices. A policy on the access trigger challenges the extra viewer and signs the device out if it fails.
Yes. The signup trigger runs before a new account has done anything, with the full fingerprint of the browser that registered it. Policies there catch disposable emails, automated browsers, and people registering their fifth account from the same device.
Yes. The login trigger sees whether the device signing in has ever been on the account before, and where in the world the last session was. A login from an unrecognized device on the other side of the planet is exactly what a policy should challenge.
No. The plugin reads the signed-in WordPress user on its own and hooks into wp_login and user_register.
Yes. Anything that creates a real WordPress user and signs it in is covered, including WooCommerce, MemberPress, Restrict Content Pro, and LearnDash.
The plugin sets DONOTCACHEPAGE on pages it runs on, which every major caching plugin honors. Most caches skip signed-in users anyway.
At your home page, or at the After logout URL you set in Settings → Rupt. Pointing it at a signup or pricing page turns a sign-out into an upgrade prompt.
login and signup evaluations alongside page-view access, so the plugin covers account takeover and fake signups, not just account sharing.rupt_evaluate() in PHP and window.rupt.evaluate() in JavaScript.window.Rupt.attach() global. Use window.rupt.evaluate() instead.