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
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
KI
Test
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 =…
RSA GTM Body Tag
Add GTM Tag to Site Body in RSA Site Group
Media Library Infinite Scrolling
Infinite Scroll