Maintenance Mode
Display a simple maintenance mode message for non-admin users.
Defining Zoho Mailer Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
Add Custom Element to Breadcrumbs
This snippet adds a custom Element called "Resources" (with its link) as the 1st element in…
om-nextjs14-layout.tsx
import '@/app/ui/global.css'; import {RouteChangeListener} from '@/app/route-change-listener.tsx'; export default function RootLayout({ children, }: { children: React.ReactNode; })…
om-startClose.js
// Close the OptinMonster campaign om{{id}}.startClose();
slide-bottom-left.css
html div#om-{{id}} { right: auto !important; margin-left: 20px !important; }
ModalCSS
Used to display popup modal in GenerateBlocks
Prevent Wholesale Customer to Add Product to the Cart If The Product is Low on Stock
// Prevent wholesale customer to add to cart if the product is low on stock add_filter('woocommerce_is_purchasable',…
Sample Email Template Tag
This is an example of how to register a new email template tag for EDD. Intended…
Foodtruck
crée moi moi un plugin pour wordpress pour un foodtruck avec une commande pour fermer et…
Custom Tab Order For Dashboard
The following code will allow you to change the order that the front end dashboard is…
Add order status to the commissions table export
/** * Add order status to the commissions table export */ function wcv_commission_export_columns( $columns ){ $columns['order_status']…
Add extra shipping providers for vendor tracking numbers
$shipping_providers = array( 'Australia' => array( 'Australia Post' => 'https://auspost.com.au/mypost/track/#/details/%1$s', 'FedEx' => 'https://www.fedex.com/apps/fedextrack/?tracknumbers=%1$s&cntry_code=au', 'Fastway Couriers' =>…
Fix 500 Internal Server Error
A .htaccess file is a key file in all PHP-based applications that controls your website’s configuration.…