Disable Pages and Post from Appearing in Wordpress Search Results
Using WPCode, apply the following code snippet to effectively disable certain pages from appearing in the…
WP Simple Pay: Change Custom Amount Field Input Type
Changes the `type` attribute on the `input` tag. This helps some mobile keyboards have a better…
Make Product Non Purchasable for Wholesale Customer if Product Stock is Less Than Certain Amount
This snippet will allow you to make a product unavailable for purchase by wholesale customers if…
Download Details Featured Image
Add the featured image to output of Download Details widget
Yandex AD (Header Section)
Yandex AD (Header Section) snippet
WP Simple Pay: Google GA4 Payment Conversion Tracking
Execute a script the first and only time a payment confirmation is viewed.
MemberPress: Change Email Subject in Bulk
The code snippet replaces email subject on all emails containing a specified phrase in the current…
Máscara CPF 2
// Carrega a biblioteca Inputmask var script = document.createElement('script'); script.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js"; script.onload = function ()…
Payment Method Smart Tag
This code only has handling for klarna, us_bank_account and card (default). The other available types are…
Reset Duplicator Pro capabilities
This snippet resets the Duplicator Pro capabilities. Insert it into the wp-config.php file, refresh the wp-admin…
om.Html.init
document.addEventListener('om.Html.init', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Rule.init
document.addEventListener('om.Rule.init', function(event) { console.log(event.detail.Rule); // The specific rule object. console.log(event.detail.Rule.rule); console.log(event.detail.Campaign); } );
om.Campaign.reset
document.addEventListener('om.Campaign.reset', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );