How to Defer the reCAPTCHA Script
/** * Defer the reCAPTCHA script until after the page loads * * @link https://wpforms.com/developers/how-to-defer-the-recaptcha-script/ */…
WP Simple Pay: Add More Aggressive Rate Limiting
Changes the various default rate limit settings.
Add Dropdown Field To Donation Form
Shows how to add a custom dropdown in a donation form (this example the select field…
Changing the Name Attribute of a Hidden Field
This code snippet can be used to change the Name attribute of a Hidden field.
Change Fields On Donation Form
Example on how to change labels for fields on donation form.
Prevent AIOSEO From Outputting any Data on Category Archive Pages
Prevent AIOSEO from outputting any data on category archive pages.
Upload font files to media library
Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library
Dynamically Setting Stripe Payment Description in WPForms
To dynamically set the Stripe payment description, add the following code snippet to your site.
Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );
Exclude All Posts of a Category from News Sitemap
This snippet can be used to exclude All Posts of a Category from News Sitemap. Note:…
Add Image Alt Text automatic
function add_alt_text_to_images( $html ) { // Check if the image has a title attribute if (…
Increase the Number of Posts Imported Per Batch from Yoast SEO Plugin
This filter can be used to increase the default number of posts imported per batch from…
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/…
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. * *…
Remove Gutenberg Block CSS
Remove Gutenberg Block Library CSS from loading on the frontend