class DeleteUploadedFiles {}
The deleteuploadedfiles Class is designed to delete uploaded files subsequent to email notifications. This functionality is…
Remove Specific Taxonomy From Public Taxonomies List
This filter can be used to remove the 'genre' taxonomy from the public taxonomies list.
Modify the LLMS Description for a Specific Post
This snippet modifies the description shown in llms.txt for a specific post.
Fix the InvalidInternetMessageHeader Error in Outlook
This snippet will modify specific headers in your emails, which can help resolve this ‘InvalidInternetMessageHeader’ error…
Admin Bar - Updates
Show updates in Admin Bar
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');
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 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.
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…