Note Orders
add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…
Recurring Addon Extension: Adding placeholder for custom recurring donations
Edit the custom text box that allows users to input custom donations for recurring donations (only).
Code for importing theme files from plugin
Generated by Meta.AI /** * Import an entire folder from a plugin into the WordPress theme.…
Add Informational Message Below the Username Field in the Login/Register Form #The Greek
This code adds an informational message below the username input field in the login or registration…
Disable default WordPress image sizes
// Disable default WordPress image sizes add_filter('intermediate_image_sizes', '__return_empty_array'); // Disable large scaled image size add_filter('big_image_size_threshold', '__return_false');…
Display the stock availability for all product types in WooCommerce archive pages
Learn how to add Availability label ? in your WooCommerce website. This will help to notify…
Facebook storage tracking
Pixel for tracking self storage traffic
om-nextjs.js
import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…
Body on Scroll
;(function ($) { $(window).scroll(function() { var scroll = $(window).scrollTop(); if (scroll >= 5) { $("body").addClass("scroll-500"); $(".tm-header").removeClass("uk-blend-difference");…
Hiltop Desktop Ads Popup
Hiltop PopUp Anti Ads
JavaScript for Craft Picker
// Menu Toggle function toggleMenu() { const mobileNav = document.querySelector('.mobile-nav'); mobileNav.classList.toggle('active'); } // Close Menu on…
expose acf
function expose_acf_to_rest() { register_rest_field('game_state', 'acf', [ 'get_callback' => function($post_arr) { return get_fields($post_arr['id']); }, 'update_callback' => null,…