Archives: Snippets
Paramount Site
add_shortcode(‘paramount_site’, function () { ob_start(); ?> PARAMOUNT CONTACT PARTNERS Revenue Appointments Contact Let’s Talk → DTC Retention · Payment Recovery · Reactivation We Don’t RunCall CentersWe Build Revenue Engines. Most companies lose money in the exact place they should be…Continue reading
Tiered Affiliate Rates — Per-Group Tier Structures
add_filter( ‘affwp_get_affiliate_rate’, function( $rate, $affiliate_id, $type ) { // Respect individual rates — if the affiliate has one set manually, skip group tiers. $affiliate_rate = affiliate_wp()->affiliates->get_column( ‘rate’, $affiliate_id ); if ( ! empty( $affiliate_rate ) ) { return $rate; }…Continue reading
Untitled Snippet
Untitled Snippet
Untitled Snippet
Untitled Snippet
import { BrowserRouter, Routes, Route, Link } from “react-router-dom”; import “./styles.css”; function Header() { return ( SH Signature Hôtelière Accueil Particuliers Professionnels ); } function Home() { return ( Literie hôtelière haut de gamme Signature Hôtelière vous accompagne dans vos…Continue reading
Untitled Snippet
WWPP – Customize the admin “New Order” email subject for wholesalers v1.1
/** * Customize the Admin “New Order” email subject using Wholesale Prices Premium logic */ add_filter( ‘woocommerce_email_subject_new_order’, function( $subject, $order ) { if ( ! $order ) { return $subject; } // Access the Wholesale Prices Premium global object global…Continue reading
WWPP – Customize the admin “New Order” email subject for wholesalers
/** * Customize the Admin “New Order” email subject for wholesale customers only */ add_filter( ‘woocommerce_email_subject_new_order’, function( $subject, $order ) { if ( ! $order ) { return $subject; } $customer_id = $order->get_customer_id(); if ( ! $customer_id ) { return…Continue reading