/** * PCBoost – Payment recovery email (v1.1) * * Replaces the instant WooCommerce “Failed order” email to the customer. * When an order fails, a check runs 1 hour later. The customer gets ONE * recovery email with a…Continue reading
/** * PCBoost — Speed: delay marketing tags + smart cart fragments (v1.0) * * What it does (front end only, never on cart / checkout / order-received / my-account): * 1. Meta, Pinterest, OpenAI, Google Ads/GA4 (gtag.js + config)…Continue reading
/** * PCBoost – PayPal orders: fill empty billing address from shipping (v1.0) * * PayPal express buttons (product page, cart, mini cart) create the order * outside the normal checkout. PayPal then only returns the delivery address, * so…Continue reading
/** * PCBoost | Auto product grid [pcb_grid] + filter tabs [pcb_tabs] (v2.0, 22 Nov 2026) * * [pcb_grid] shows the best-selling IN-STOCK, catalogue-visible products of a category (optionally one brand), * 10 by default, then a “See all” button…Continue reading
/** * PCBoost | Menu landing-page links (v1.0, 22 Nov 2026) * * Adds a “Popular pages” block with links to the landing pages inside the desktop mega-menu * ([pcb_desktop_nav]) and the mobile drawer ([pcb_mobile_drawer]) from snippet 186451 * “Pcboost…Continue reading
/** * PCBoost – OpenAI Ads pixel: hashed user data (v1.0) * * Adds hashed customer data to the OpenAI Ads pixel so ChatGPT Ads can match * purchases to ad clicks (“Improve event quality” warning in Ads Manager). *…Continue reading
/** * PCBoost – Public stock display v1.1.0 – 2026-12-01 * * What customers see instead of the exact stock quantity: * – more than PCB_STOCK_CAP units -> “30+” (30+ units available / 30+ in stock / In stock (30+))…Continue reading
/** * PCBoost — My account (look and wording of the customer’s account pages) * WPCode snippet: PHP, Run Everywhere. * * For every logged-in customer, business or not, on the My account pages only: * – navigation as a…Continue reading
/** * PCBoost – Checkout: County fix v1.0.0 – 2026-12-01 * * WooCommerce 11.3.1, block checkout. The County field is optional in the UK, but the checkout keeps a hidden error * on it (“Please enter a valid state/county”) while…Continue reading
// Email me when the list of administrators changes. (edited) // Run the check once a day. add_action( ‘init’, function () { if ( ! wp_next_scheduled( ‘hawp_check_admins’ ) ) { wp_schedule_event( time() + 300, ‘daily’, ‘hawp_check_admins’ ); } } );…Continue reading