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
Modify the LLMS Description for a Specific Post
This snippet modifies the description shown in llms.txt for a specific post.
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');
Customize Action Scheduler Retention Period
This snippet allows you to change the default 30-day storage for the Action Scheduler retention period.
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…