WPCode Admin Number of Snippets (copy)
Change the number of snippets displayed in the admin list using a filter.
WooCommerce Programmatically Cancel Pending Orders After 1 Hour
Post More Detail It’s possible that you’re thinking, “But I can already do that using the…
0000 > CLASS > Show Data
// this is the class definition class myfair_Show_Data { public function __construct() { $this->loadShows(); if (isset($this->showList)…
Buy with Prime
add_action( ‘woocommerce_after_add_to_cart_form’, ‘QL_add_text_under_add_to_cart’ ); function QL_add_text_under_add_to_cart () { global $product; ?>
Change "Email" On Donation Form
This will change wording on the donation form for the "Email" field, although this snippet can…
MemberPress: Update MemberPress Account Course Tab Link With A Custom URL
This code snippet customizes the default URL of the Courses tab link in the navigation menu…
MemberPress: Disable MemberPress Protection Based on Custom Post Type And Tag
This code snippet disables content protection for specific post types that are also tagged with a…
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); } );