Remove users from WP-JSON

Increase your site's security by hiding usernames from WP-JSON, that are otherwise exposed to the public.

Change the Post ID Being Processed by AIOSEO

This snippet can be used to change the Post ID being processed by AIOSEO.

10+

Redirect To Referer After Login

After a user logs in, redirect them back to the page they were on right before…

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.

Disable the space key with the special CSS class

This code snippet disables the space key. When a user presses the space key in these…

<10

Translating the Total Field's Order Summary

This code targets specific elements inside the Order Summary and updates the labels to the translated…

<10

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. * *…

<10

Enable Block Editor For Campaigns

Code that will modify the way the Campaign post type is set up to so that…

Add Field Placeholders

Add placeholder attributes to donation fields, removing the label field.

Prevent AIOSEO From Outputting any Data on Category Archive Pages

Prevent AIOSEO from outputting any data on category archive pages.

<10

WooCommerce Change "$0.00" to "Free"

/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…

Remove Gutenberg Block CSS

Remove Gutenberg Block Library CSS from loading on the frontend

New Donation Field Plus Customized Donor Name

This is the full code for a tutorial written on the WP Charitable blog.

Use Single Tenant With the Outlook Mailer

This snippet will set the Outlook API authorization and access token URLs to use your unique…

1 … 32 33 34 35 36 … 239