Site Wide Header
add_filter('get_custom_logo', function($html) { // Only touch the header logo return preg_replace( '/]+)>/', '', // set to…
ACF_KEYSMST_MSTCASECPT – TAB - OUTCOMES & DISCHARGE (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: OUTCOMES & DISCHARGE (v3.0 Modular) * ============================================ *…
Keep users logged in for 1 month on Staq
function stq_change_auth_cookie_expiration_period( $expiration_period ) { $expiration_period = MONTH_IN_SECONDS; // 1 month return $expiration_period; } add_filter( 'auth_cookie_expiration',…
Custom Countries
Illustrates how to add a custom list of countries
Fully Disable Comments & Trackbacks (The "Nuclear" Option)
* Fully Disable Comments & Trackbacks (The "Nuclear" Option) * Optimized for performance and UI clarity.
Untitled Snippet
https://www.highrevenuegate.com/vtih3qtws?key=9fcf513fba43e6344e324bc00d8881b4
Shop Manager - Reseller Admin.js
Creates a reseller admin role that has more customisation options than a normal user
Force Minimum Password Length in Profile Editor
Verify password minimum length in the EDD profile editor.
Delete Double Logo At Checkout
/** * ============================================================ * Hide Duplicate Astra Header on Checkout * ============================================================ * * PURPOSE: Hides…
Give Subscription on Purchase
This snippet will provide customers with one year of access to subscription content when they make…
Yootheme Consent - Scroll block
/* When the consent banner is present, lock the viewport */ html:has(.tm-consent), body:has(.tm-consent) { overflow: hidden…