Override the commission calculation priority order
/** * Given the provided list of vendor_ids in the vendors array, override the commission to…
test
echo 'test';
Extra WordPress Filters in Pro (Do something with the price display) | Display Eventbrite Events
Using this filter, you can change the price display. filter: (‘wfea_price_display‘ , $price_display, $min, $max, $currency)…
Change Arabic Currency symbol to the currency short code
example change د.إ to AED and all the Arabic currencies
Post-States
add_filter( 'display_post_states', 'bu_style_post_state_bricks', 15, 2 ); function bu_style_post_state_bricks ($post_states, $post) { if( isset( $post_states['bricks'] ) )…
Allow SVG Files Upload
Add support for SVG files to be uploaded in WordPress media.
Defining General Settings Constants
Every constant in this section can be used for any mailer because they’re not specific to…
Dynamic Monsterlinks By Class Name
// Target by class name window.onload = function(){ const dynamicMonsterLinks = document.querySelectorAll("a.myClass"); dynamicMonsterLinks.forEach(dynamicMonsterLinks => dynamicMonsterLinks.href =…
om.Campaign.init.preload
document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; campaign.settings.preload = false; });
Your HTML link may look something like this v2
Some link on your site.
MemberPress: Bulk Delete All Expired Subscriptions
Running this code snippet will delete all expired and canceled subscriptions in bulk each time the…
Untitled Snippet
connect site to google
Smooth Scrolling
html { scroll-behavior: smooth; }
Untitled Snippet
document.addEventListener("DOMContentLoaded", () => { const canvas = document.getElementById("canvas"); const ctx = canvas.getContext("2d"); const expressionInput = document.getElementById("expressionInput");…
Google Analytics
Downloaded when the analytics account was setup