How to Change The Name of the Leaky Paywall Restriction Cookie

Using the leaky_paywall_restriction_cookie_name filter, you can change the default name of the cookie Leaky Paywall uses to track restricted content. Here is an example use if you needed to add prefix to the cookie depending on your server environment.

How To Send A User Back to the Page They Came From After Login

If you are looking for a way to send a user back to the page they came from after subscribing, we have an add-on for that: Registration Redirect. When the user hits the article limit, they are prompted to login. But this login sends the user to the profile page, or home page, but not […]

How To Add Custom Columns to the Leaky Paywall Subscriber Table

You can use these two filters to add your own columns to the Leaky Paywall Subscriber Table. leaky_paywall_subscribers_columns manage_leaky_paywall_subscribers_custom_column Below is an example of how to use these filters. You can add this code to your functions.php file or a custom functionality plugin.

How To Tell Leaky Paywall to Ignore Editors and Other User Roles

You can use the leaky_paywall_current_user_can_view_all_content filter in Leaky Paywall to change the capability check of users that are allowed to view Leaky Paywall content. The default capability is ‘manage_options’, which usually only allows admins to be ignored by Leaky Paywall. To have Leaky Paywall ignore other roles, you can change the WordPress user capability like […]

How To Change the Subscription Details on a Subscribe Card

Using the leaky_paywall_subscription_options_allowed_content filter, you can show custom benefits and features for a subscription card on your Leaky Paywall subscribe page. You can change the look of the cards with custom CSS via a child theme or your theme’s custom CSS area This code should be added to your theme’s/child theme’s functions.php file