MemberPress Check active

add_action ( ‘template_redirect’, ‘redirect_custom_nonactive’ );function redirect_custom_nonactive(){if ( current_user_can(‘mepr-active’) && is_front_page() ) {echo ‘Welcome, active member user!’;}else { echo ‘Welcome, non-active registered user!’;} }

Paid Membership Pro Css Tweaks

form.pmpro_form .input, form.pmpro_form textarea, form.pmpro_form select, #loginform input[type=text], #loginform input[type=password] {display: block;max-width: 100%;width: 480px;margin: 0 auto; } form.pmpro_form label, #loginform label {font-weight: 700;display: block;margin: 0…

Add IPN and Return Url to PayPal

Here’s how to enable Auto Return: Click Settings. Click Website payments under “Product & Services” on the left of the page. Click Update next to “Website preferences.” Click On under “Auto return.” In…