Add Dynamic Hidden Field

Dynamically set as a hidden field in the donation form, based on the ID of the…

Customize Action Scheduler Retention Period

This snippet allows you to change the default 30-day storage for the Action Scheduler retention period.

Add Image Alt Text automatic

function add_alt_text_to_images( $html ) { // Check if the image has a title attribute if (…

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.

<10

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…

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.

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,…

<10

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.

Defining Other SMTP Constants

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

Set Header Menu as "Custom"

If you are using a custom menu plugin for your header menu you can define your…

Add Custom Text Before Purchase Button

Add custom text just before the "Purchase" button at checkout

Set New User Role

Set the role of users who register through the Charitable registration form shortcode.

Add Custom Field From Donation Form On The Receipt Page

This is an example of how to show a field data someone entered in their donation…

1 … 34 35 36 37 38 … 240