Change the Post ID Being Processed by AIOSEO
This snippet can be used to change the Post ID being processed by AIOSEO.
Redirect To Referer After Login
After a user logs in, redirect them back to the page they were on right before…
WooCommerce Change "$0.00" to "Free"
/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…
Change Campaign Slug Base
Change the /campaigns/ bit to something else.
WP Simple Pay: Add More Aggressive Rate Limiting
Changes the various default rate limit settings.
Translating the Total Field's Order Summary
This code targets specific elements inside the Order Summary and updates the labels to the translated…
How to Block Names From Completing Your Form - First Last and First Middle Last format
/** * Prevent certain names from the other formats for the Name form field. * *…
Upload font files to media library
Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library
Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…
Prevent AIOSEO From Outputting any Data on Category Archive Pages
Prevent AIOSEO from outputting any data on category archive pages.
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
How to Block Names From Completing Your Form - Simple format
/** * Prevent certain names from the Simple format Name form field. * * @link https://wpforms.com/developers/how-to-block-names-from-completing-your-form/…
Allow WebP Files Upload
The provided PHP code is intended to enable the upload of WebP image files in WordPress…