Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );
Using an Office 365 GCC or DoD email address
For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…
Add Custom Dynamic Variables
The Total theme allows you to use "Dynamic Variables" in various element text fields such as…
Allow Other WordPress Roles to View Email Logs
This snippet will allow you to manage the capabilities of roles allowed to view the site's…
Prevent AlOSEO from outputting any data on term pages
This snippet can be used to prevent AlOSEO from outputting any data on term pages
Add Creator Name
Display the campaign creator's name on the campaign page and in the campaign grid/list.
Remove Gutenberg Block CSS
Remove Gutenberg Block Library CSS from loading on the frontend
Sending Form Fields as Smart Tags to Square
The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…
Prevent AIOSEO From Outputting a rel=”prev” Link
Prevent AIOSEO from outputting a rel=”prev” link
Add Currency
Add a new currency (the example here is Armenian Dram currency (AMD) ).
Variable Pricing Dropdown
Convert variable prices from radio buttons to a dropdown
Continue Shopping Button
/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…
Disable All Admin Notices individually
function disable_all_admin_notices() { remove_all_actions('admin_notices'); } add_action('admin_init', 'disable_all_admin_notices');
Change Country Field To Hidden
Change the Country field in the donation form to a hidden field with a hard-coded default…
Remove HealthAndBeautyBusiness Schema
This snippet removes HealthAndBeautyBusiness Schema