Disallow point redemption if cart has subscription product.

This snippet will remove the point redemption option if the cart has a subscription product

Limit Purchase Total

Sets a purchase amount and prevents customers from purchasing more than that amount at one time.

Disable Wish Lists by Category

Customize this plugin to remove wish lists from certain categories of downloads

Allow HTML in the product description

function wcv_wpkses_post_html_tags( $tags, $context ) { if ( 'post' === $context ) { $tags['iframe'] = array(…

Add custom page to the vendor dashboard - custom menu link

add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' ); function custom_menu_link( $pages ) { $pages[ 'custom_link' ] = array( 'slug' =>…

Untitled Snippet

HTML5

Marketing Manager
<10

Remove Subscriber from Segment

This snippet helps remove a push subscriber from a segment on the defined event.

Extra WordPress Filters in Pro (Do something with the age restriction display) | Display Eventbrite Events

Using this filter you can change the age restriction display. e.g. all_ages by default displays nothing,…

Blocks on templates

Setting a specific block on specific templates by default

Defining SMTP.com Mailer Constants

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

MemberPress: Extend Grace Period for Renewals

Adding this code will extend the grace period for renewals (default is 0). Change the number…

om.Campaign.afterShow

document.addEventListener('om.Campaign.afterShow', function(event) { if (event.detail.Campaign.id == 'zjd3hxxogbfvmy2iz0rp') // your slug { var campaignID = 'om-'+ event.detail.Campaign.id;…

dynamic-monsterlinks-by-class-name.js

// Target by class name window.onload = function(){ const dynamicMonsterLinks = document.querySelectorAll("a.myClass"); dynamicMonsterLinks.forEach(dynamicMonsterLinks => dynamicMonsterLinks.href =…

1 55 56 57 58 59 125