Modify User Role on Checkout

Modify the user role that is given to users that register during checkout

Remove Order Notes in checkout page

/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…

Minify HTML

function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…

Do On Complete

Execute code whenever an EDD purchase is complete.

MemberPress: Move PayPal Smart Pay Buttons

Move the PayPal Smart Pay Buttons under the checkboxes for accepting Terms of Service and the…

After Checkout Event In WooCommerce

This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…

Adds URL to pages window

add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…

add 2 nos

function addNumbers() { // Get input values const num1 = parseFloat(document.getElementById('num1').value); const num2 = parseFloat(document.getElementById('num2').value); //…

Displaying WPForms Pro on Quiz and Survey Master Results Pages

This code snippet will ensure WPForms Pro forms displays properly on QSM results pages.

<10

Move Campaign Summary Below Content

Move the campaign summary block (funds raised, number of donors, etc) to below the extended description…

Maintain+ Footer Credit

jQuery("footer").append(" Site managed by Maintain+ ")

MemberPress: Show MemberPress Account Page Navigation Menu on Any Page

The code snippet will register the [mepr-account-nav-menu] shortcode once added to the website. Adding the shortcode…

Donation Form Email Check

If you need to do manual validation of an email when a donation is being submitted…

1 61 62 63 64 65 219