display user name in a menu
/** * Show a user's display name/user name in a WordPress menu. * Once this code…
Add Campaign Creator Name Donation Export
In this example, the campaign creator's name is added to the Donations export, so it's easy…
Display Post and Page IDs in WordPress Columns
This PHP code enables you to display the IDs of posts and pages within WordPress columns.…
Remove users from WP-JSON
Increase your site's security by hiding usernames from WP-JSON, that are otherwise exposed to the public.
Re-route BuddyPress emails through WP Mail SMTP
This snippet will re-route all BuddyPress emails through WP Mail SMTP. This code snippet will also…
Sending Form Fields as Smart Tags to Square
The snippet makes Smart Tags usable with Square payments. It allows you to include form fields…
WooCommerce Change "$0.00" to "Free"
/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…
Prevent AIOSEO From Outputting a rel=”prev” Link
Prevent AIOSEO from outputting a rel=”prev” link
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…
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. * *…
Remove "mail.readwrite" Scope for the Outlook Mailer
This snippet removes the `mail.readwrite` scope from the WP Mail SMTP plugin Outlook provider.
Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…