Use Single Tenant With the Outlook Mailer
This snippet will set the Outlook API authorization and access token URLs to use your unique…
Sending Form Fields as Smart Tags to Square
The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…
class DeleteUploadedFiles {}
The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…
Admin Bar - Updates
Show updates in Admin Bar
Remove Specific Taxonomy From Public Taxonomies List
This filter can be used to remove the 'genre' taxonomy from the public taxonomies list.
Variable Pricing Dropdown
Convert variable prices from radio buttons to a dropdown
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…
Continue Shopping Button
/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…
Disable All Admin Notices individually
function disable_all_admin_notices() { remove_all_actions('admin_notices'); } add_action('admin_init', 'disable_all_admin_notices');
Change Country Field To Hidden
Change the Country field in the donation form to a hidden field with a hard-coded default…
Remove HealthAndBeautyBusiness Schema
This snippet removes HealthAndBeautyBusiness Schema
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…
Applying Custom Map Styles to the Map Field
This code snippet will use your custom map style in WPForms Map field.
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…