Docs

September 22, 2025
3
minutes

Require Terms & Conditions at login and/or WooCommerce checkout. Log consent, confirm by email (Pro), and export records (Pro).
View on WordPress.org: [link placeholder]

Quick Start

  1. Install the plugin from Plugins → Add New and search for “Terms & Conditions Popup on User Login.”
  2. Activate the plugin.
  3. Go to Settings → Terms Popup and paste your Terms content (HTML supported).
  4. Choose where to enforce: Login, WooCommerce checkout, or both.
  5. Save and test in a private/incognito window.

Setup & Configuration

Terms Content

  • Paste your latest Terms & Conditions text.
  • Include refund policy, license/usage rules, acceptable use, and contact info.

Trigger & Scope

  • Require at Login: popup appears at user login.
  • Require at Checkout (WooCommerce): popup appears during checkout before payment completes.
  • Require Re-acceptance: bump Terms version to re-prompt users when you update your policies.

Behavior

  • Popup blocks access until accepted.
  • Content supports HTML formatting and links.

Pro Features

  • Consent Logging: Every acceptance is stored in the WordPress database.
  • CSV Exports: Download records for legal or compliance needs.
  • Email Confirmations: Automatically send users a copy of the Terms they agreed to.

Developer Hooks

The plugin provides a filter for developers to customize when the popup is shown.

Hook: tpul_override_show_popup

  • Input: a boolean (true = show popup, false = don’t show)
  • Output: return your modified boolean

Example: Only show the popup for users with the subscriber role.

function my_custom_popup_logic( $should_show_popup ) {
    if ( $should_show_popup && is_user_logged_in() ) {
        $user = wp_get_current_user();
        if ( in_array( 'subscriber', (array) $user->roles ) ) {
            return true;
        } else {
            return false;
        }
    }
    return $should_show_popup;
}
add_filter( 'tpul_override_show_popup', 'my_custom_popup_logic' );

You can use this hook to:

  • Restrict the popup to specific roles
  • Skip the popup on certain pages
  • Add advanced conditions like cookies, membership checks, or custom logic

Design and UX Tips

  • Keep Terms clear and concise.
  • Add headings or sections for readability.
  • Use your brand voice and match the popup design to your site theme.

FAQ

Q: Do users have to re-accept if I change my Terms?
A: Yes, if you enable “require re-acceptance” and update the Terms version number.

Q: Does this work without WooCommerce?
A: Yes, the login popup works for any WordPress site. WooCommerce enforcement is optional.

Q: Can I customize the popup style?
A: Yes, basic styling follows your theme. For advanced design, you can override with CSS.

Troubleshooting

  • Popup not showing? Check that enforcement is enabled in plugin settings.
  • WooCommerce checkout not blocked? Make sure the WooCommerce integration is toggled on.
  • Emails not sending? Confirm WordPress can send emails (use a mail plugin if needed).

Support

  • Free support: https://matyusmedia.slack.com/join/shared_invite/zt-3duipsria-rq0an9BLd2xe69xFSkrTAw#/shared-invite/email
  • Pro support: https://matyus.me/contact

Legal-grade consent in minutes.

woman at desk on laptop
Terms and Conditions