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.
Using the filter leaky_paywall_process_stripe_payment_customer_array you can add metadata to a customer in Stripe during the checkout process of Leaky Paywall.
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 […]
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.
Using the leaky_paywall_subscribe_or_login_message filter, you can easily adjust the content of the Leaky Paywall Subscribe message that is displayed when the user runs out of free content.
Using the filter leaky_paywall_subscription_levels it is easy to change the order of the subscription cards on the subscribe page.
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 […]
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
Using the leaky_paywall_userdata_before_user_create filter you can force a new subscriber’s username to be their email address during sign up for Leaky Paywall. Just paste the following code into your theme’s functions.php file.