Set Header Menu as "Custom"
If you are using a custom menu plugin for your header menu you can define your…
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…
Disable Author Archive
A small Code that disable the WordPress Author Archive and redirect to the Homepage
Collect National Id Number
/** * Add a text field to the donation form. * * This field is added…
Add Email Headers
/** * Add CC/BCC headers to Charitable emails. * * @param string $headers The default email…
Enable Block Editor For Campaigns
/** * The following code will modify the way the Campaign post type * is set…
Change Plugin Text
/* * A local translation snippet. Change 'YOUR TEXT HERE' to your desired text. * *…
Add Field Placeholders
/** * Add placeholder attributes to donation fields, removing the label field. * * @return void…
MemberPress: Remove all but one country from the drop-down
Removes all the countries for the drop-down list on the account and registration pages and leaves…
Display Ad - H Snippet
in between the tags of your pages
Show Admin Bar
/** * By default, Charitable hides the admin bar from users * who do not have…
MemberPress: Disable Admin Password Lost/Changed Email
Disable the MemberPress Admin email notification for password lost/changed.
Unhook Default Charitable Template Functions
/** * Unhook default Charitable template functions. * * In this example, we're going to remove…
MemberPress: Add Tag Support for Lessons and Quizzes
Adds the ability to tag lessons and quizzes in MemberPress Courses.