Vimeo Autoplay Unmute (Homepage)
document.addEventListener("click", function () { const iframe = document.querySelector("iframe[src*='vimeo.com']"); if (!iframe) return; iframe.contentWindow.postMessage( JSON.stringify({ method: "setVolume", value:…
WPCode Snippet: Download All Snippets Button
* Description: Adds bulk download button to WPCode Snippets Sync admin page * Location: Admin Only…
Donation Fee Radio Field
/** * 1. Register the Required Yes/No Radio Field */ add_action( 'init', function() { if (…
Vendor Email Tag
Show the Shop Vendor's email for each download purchased
RED'S Java Snippet
fetch("https://redllc.ai/wp-json/chaport/v1/lead", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(payload) }) .then(res => res.json()) .then(data…
Home page
home page schema
Remove ISO 4217 for Google Feeds
// Force localization for all feeds add_filter('adt_product_feed_localize_price_args', function($args) { $args['decimal_separator'] = '.'; $args['thousand_separator'] = ','; return…
Gravity Forms Hook — BOL Upload Triggers Capture
When the vendor uploads the Bill of Lading, the following snippet links the submission to the…
Redirecting Vendors to Vendor Dashboard on Login
Snippet To Redirect Vendors to their Dashboard on login
Add menu item to vendor dashboard
// Add this to your themes functions.php function add_menu_item( $pages ){ $pages[] = array( 'label' =>…