Disable "Scheduled export e-mail of ... returned false when sending to ..." notice in Scheduled Exports
function custom_woo_ce_cron_export_email_wp_mail_failure_notice() { // Turn off the error notice return false; } add_filter( 'woo_ce_cron_export_email_wp_mail_failure_notice', 'custom_woo_ce_cron_export_email_wp_mail_failure_notice' );
Disable Rich Pins
This code snippet will disable all rich pins on your site, not just recipes.
Menu Item image Animation on Hover
When you hover over a menu item, the will be an image which will slide behind…
Display both published and modified date
‹?php // Code from codewp.ai function codewp_display_dates( $content ) { if(get_post_type() != 'post') { return $content;…
om-nextjs14.js
'use client'; import { usePathname } from 'next/navigation'; import { useEffect, useState } from 'react'; export…
om-change-view.js
// Show the Yes/No view om{{id}}.changeView('yesno'); // Show the Optin view om{{id}}.changeView('optin'); // Show the Success…
And the Javascript to turn your HTML link into a MonsterLink v2
jQuery(document).ready(function($) { $('a[class*="campaign"]').addClass("manual-optin-trigger"); $('a[class*="campaign"]').attr("data-optin-slug", "pm6fnflhiocj7cge"); });
RSA Group GTM Head Tag
Add GTM Tag to Site Header on RSA Site Group
The draft of receipt
from reportlab.lib.pagesizes import A4 from datetime import datetime from reportlab.platypus import Table, TableStyle, Paragraph, SimpleDocTemplate, Image,…
Block Email Domains 'secmail.pro' etc #The Greek
With this code you can block all the bots from login to your website. Notification -->…
MemberPress: Disable the Unauthorized Redirection for Multiple Pages And/or Posts
Adding this code snippet will prevent unauthorized users from being redirected away from specific pages if…
Enable automatic updates for WordPress core, plugins, and themes
// Enable automatic updates for WordPress core, plugins, and themes add_filter('automatic_updater_disabled', '__return_false'); add_filter('auto_update_core', '__return_true'); add_filter('auto_update_plugin', '__return_true');…