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
Remove "mail.readwrite" Scope for the Outlook Mailer
This snippet removes the `mail.readwrite` scope from the WP Mail SMTP plugin Outlook provider.
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.
Set Custom Donation Receipt Page
You can set a custom donation receipt page, including a page that is not on your…
Allow only specific days of the month in all WPForms date pickers
If you only want users to select certain days of the month in the Date Picker,…
Add PDF to purchase receipt
Attaches a PDF to the email customers receive when they purchase
Set Custom Redirection After Registration
Send the user to a custom page after they have registered.
File Size Display
After the download content, shows a list of the download files and their sizes
Remove Section
Remove entire sections from a profile form.