Blog - ProfilePress

Black Friday Sale!

Get 25% Off any plan using this coupon BFCM2022
How to Assign Different User Role per Registration Forms in WordPress How to Assign User Role per Registration Forms in WordPress

How to Assign Different User Role per Registration Forms in WordPress

Prior to Profilepress version 1.9, defining a user role that registering users will be assigned — aside the one set in WordPress general settings — was only possible via pp_after_registration action hook like so: add_action( ‘ppress_after_registration’, ‘pp_insert_user_role’, 10, 3 ); function pp_insert_user_role( $form_id, $user_data, $user_id ) { $a = get_user_by( ‘id’, $user_id ); // clear…

How to Integrate Mailchimp With WordPress How to Integrate MailChimp With WordPress

How to Integrate Mailchimp With WordPress

Email still remains the popular form of communication used for exchanging digital messages on the Internet. Visitors to your website will often opt-in for information and follow-up messages if they see something of interest and value. If you offer say digital products for sale, such visitors may not be ready to buy just yet; they…