Disable All Admin Notices individually

function disable_all_admin_notices() { remove_all_actions('admin_notices'); } add_action('admin_init', 'disable_all_admin_notices');

Remove HealthAndBeautyBusiness Schema

This snippet removes HealthAndBeautyBusiness Schema

<10

Change Country Field To Hidden

Change the Country field in the donation form to a hidden field with a hard-coded default…

Defining Email Log Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

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…

Create List of Child Pages

To show a list of Child pages on the Parent Page

Customize Donation Stats

Customize the stats that are shown in the Donation Stats widget.

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…

Defining Other SMTP Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Customer Order Note for WooCommerce Products

Inserts a note field next to the add-to-cart button on every WooCommerce product page. Customers can…

Mike Whelan
<10

Change Custom Amount Field Label

Filter the custom amount field description.

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.

Disabling MemberPress Signup Reminder Emails for Specific Users

The code snippet disables MemberPress signup reminder emails for users with specified email addresses.

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

1 … 36 37 38 39 40 … 244