Did you know that even website administrators will need an active membership level in order to see member-only content? Use this code recipe to override the behavior of the pmpro_has_membership_access_filter to always allow admin access to restricted content.
Our Paid Memberships Pro Series Add On allows you to drip feed content to your members over the course of their membership. This is a great way to keep members coming back or make sure members do not consume all of your content at once.
By default, all the posts of a series can be seen in a list. However, members can only access it at a certain time. In the event that you wish to hide upcoming or not-yet-accessible content, you will need to use this code recipe to do so.
Our PMPro Member Directory and Profiles Add On allow you to add a public or members-only directory to your membership site.
This directory has a default sort order of First Name followed by the Last Name of the member. This recipe will override the default sort order to display the member’s Last Name followed by their First Name.
Are you using Woocommerce to sell Paid Memberships Pro memberships? You might need to add the billing fields that are collected from WooCommerce and add them to your PMPro invoices for record keeping. If so, we have just the right code recipe for you.
The Visits, Views, and Logins report in Paid Memberships Pro shows aggregate user statistics for the day, month, and all time. The full report offers a detailed view of data points by user and member.
This recipe will show you how to disable statistic tracking for the “administrator” role.
This code recipe will block login attempts for any user that is not also a member of your WordPress site. Any user that does not have a membership level will fail to authenticate.
We’ve also added an alternative, less heavy-handed, restriction option in combination with our Email Confirmation Add On.
Your Members will use the Billing Information page to make updates to the payment method used for their membership recurring payment profile. The default page template shows the member’s card type, last 4 digits, and expiration date on this page. This recipe demonstrates how to use the pmpro_billing_show_payment_method filter to hide this list item from the page.
This code recipe is a tweaked version of our BCC Additional Email Addresses on Member or Admin Notifications. Although similar, this code recipe will allow you to target specific membership levels. Giving you the ability to send BCC Admin notification emails only for specific membership levels….