How to Add BCC to Email Notifications (for specific form)
/** * Add BCC recipients to specific form email notifications. * * @link https://wpforms.com/docs/how-to-add-bcc-to-email-notifications/ */ add_filter(…
Remove the default 'aioseo-' ID prefix added for the Table of Content block
This snippet can be used to remove the default 'aioseo-' ID prefix added for the Table…
Customizing Checkbox and Radio Fields to Look Like Buttons (Specific Forms)
This code snippet will customize Checkbox and Radio fields to look like buttons.
Redirect To Referer After Login
After a user logs in, redirect them back to the page they were on right before…
Add Custom Campaign And Donation Field
In this example, a new email field is added which can be used both in campaign…
Register New Donation Field
Adding a new field (in this example it is a National ID Number). Explains all the…
Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…
Change Campaign Slug Base
Change the /campaigns/ bit to something else.
Upload font files to media library
Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library
WooCommerce Change "$0.00" to "Free"
/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…
WP Simple Pay: Add More Aggressive Rate Limiting
Changes the various default rate limit settings.
Change Fields On Donation Form
Example on how to change labels for fields on donation form.
Remove the link from the current breadcrumb item on a page
This snippet removes the link from the current breadcrumb item on a page.
Change the Default Taxonomy Slug “locations-category”
This filter can be used to change the default taxonomy slug “locations-category”.
Change the Post ID Being Processed by AIOSEO
This snippet can be used to change the Post ID being processed by AIOSEO.