Add Dynamic Hidden Field
Dynamically set as a hidden field in the donation form, based on the ID of the…
Featured Images of the Current User’s All Active Memberships
This code snippet adds the new [membership_thumbnail] shortcode. Adding this shortcode anywhere on the website will…
Make Form Fields Required Not Required
This example shows how to make a form field required or not required.
Change Country Field To Hidden
Change the Country field in the donation form to a hidden field with a hard-coded default…
Change Custom Amount Field Label
Filter the custom amount field description.
Set Header Menu as "Custom"
If you are using a custom menu plugin for your header menu you can define your…
Set New User Role
Set the role of users who register through the Charitable registration form shortcode.
Make Single Field Required
Make a single field on the donation form required.
Disable Nonce Check For Non Logged In Users
Disables the nonce check for non-logged in donors, usually for those using page caching which causes…
Add Picture Field To Donation Form
A picture field is added to the donation form, allowing donors to upload an image as…
MemberPress: Add Author Custom Bio Shortcode
Add the [mpcs-author-custom-bio slug="mepr_short_bio"] shortcode to a post, page, or course. The shortcode will display the…
Unhook Default Charitable Template Functions
In this example, we're going to remove the donor count from the campaign page, but you…
MemberPress: Add Bio Info To Account Page
The code will add the field called Bio to the MemberPress Account Page using a classic…
Add Offline Instructions Field
Add a new field to your donation-related emails which shows the offline payment instructions for offline…
Add Country
Add Kosovo to the list of countries in Charitable.