Disable Automatic Updates
Use this snippet to completely disable automatic updates on your website.
Defining SendLayer Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
G-T2XZDKK0J5
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
How to Center a Form
This code centers the form using margin: 0 auto and sets a maximum width of 500px.
Unattached Media Cleanup
// Schedule the event if it is not already scheduled function schedule_unattached_media_cleanup() { if (!wp_next_scheduled('delete_unattached_media_event')) {…
IDK...
Hopefully the code for Docket shop
Show Invoice for Pending
Makes PDF Invoices available for pending payments
Weighted download count
This plugin makes it so that certain products use up more downloads in the download counter…