MemberPress: Add Bio Info To Account Page
The code will add the field called Bio to the MemberPress Account Page using a classic…
Add Currency
Add a new currency (the example here is Armenian Dram currency (AMD) ).
WP Simple Pay: Add Custom Field Data to Customer Metadata
Retrieve the value of a custom field and add it as metadata to the Stripe Customer…
Variable Pricing Dropdown
Convert variable prices from radio buttons to a dropdown
Disable All Admin Notices individually
function disable_all_admin_notices() { remove_all_actions('admin_notices'); } add_action('admin_init', 'disable_all_admin_notices');
Customize Action Scheduler Retention Period
This snippet allows you to change the default 30-day storage for the Action Scheduler retention period.
Continue Shopping Button
/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…
Remove HealthAndBeautyBusiness Schema
This snippet removes HealthAndBeautyBusiness Schema
Change Country Field To Hidden
Change the Country field in the donation form to a hidden field with a hard-coded default…
Create List of Child Pages
To show a list of Child pages on the Parent Page
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…
MemberPress: Add a description to Order Bumps on the registration page
In this example, a description is added to an Order Bump with a membership ID of…
Applying Custom Map Styles to the Map Field
This code snippet will use your custom map style in WPForms Map field.
Customer Order Note for WooCommerce Products
Inserts a note field next to the add-to-cart button on every WooCommerce product page. Customers can…
WP Simple Pay: Add Custom CSS Classes to the Payment Button
"Payment Button" refers to the button that launches an On-site Overlay or Stripe Checkout Payment Form.