Register Multiple Donation Fields

Add multiple new fields to your donation form.

WPForms: swap price and option value for payment fields

This snippet makes the option label "$40.00 - Second Choice" instead of "Second Choice - $40.00"…

Add the "input hidden" field type to the EDD settings

Add 'input type="hidden"' to the type of input fields available when setting up your plugin's EDD…

Purchase Button Custom Add to Cart Link

Below all EDD purchase buttons, display a link to add that product to the cart and…

Opening booking resources editor in new tab

This snippet will open the booking resources editor in a new tab instead of opening it…

Change Method Label

add_filter( 'woocommerce_cart_shipping_method_full_label', 'wcv_override_vendor_shipping_label', 10, 2 ); function wcv_override_vendor_shipping_label( $label, $method ){ $label = 'Flat-rate'; // cost;…

Make All Users Vendors

/** * Make all new user registrations Vendors. */ add_filter( 'woocommerce_new_customer_data', 'wcv_woocommerce_new_user_data' ); function wcv_woocommerce_new_user_data( $data…

Remove WordPress Version Number

add_filter('the_generator', '__return_empty_string');

<10

On Scroll Elementor show/hide element

Note: You need to set the id for the button or element to "#scrolling-button".

JP_Wp_Snippets

All different snippets I have been using

1 90 91 92 93 94 125