Automatically Delete Woocommerce Images After Deleting a Product
Automatically Delete Woocommerce Images After Deleting a Product
Increase the Number of Posts Imported Per Batch from SEOPress Plugin
This filter can be used to increase the default number of posts imported per batch from…
Add Multiple Checkboxes To Donation Form
This uses the "multi-checkbox" vs just "checkbox" for a single checkbox.
Changing Sublabels for the Email Field
This snippet is used to update the default labels for the Email field when it includes…
Change the No Results Found text in Modern Dropdown
This snippet changes the default no result found text in Dropdown field with Modern style.
How to Customize the Rich Text Field TinyMCE Icons
/** * Customize Rich Text Field TinyMCE buttons for top toolbar. * * @link https://wpforms.com/developers/how-to-customize-the-rich-text-field-tinymce-icons/ */…
Generate and Send Invoice Number to Authorize.Net
This snippet generates and sends a unique invoice number to Authorize.Net for completed payments in WPForms
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…
How to Set the Language for Google reCAPTCHA
/** * Set the language for Google reCAPTCHA. * * @link https://wpforms.com/developers/how-to-set-the-language-for-google-recaptcha/ */ function wpf_dev_recaptcha_language( $url…
How to Store Field Values in the WPForms Entry
/** * Show values in Dropdown, checkboxes, and Multiple Choice. */ add_action( 'wpforms_fields_show_options_setting', '__return_true' ); /**…
Add Email Headers
Add headers to Charitable emails (for example CC/BCC headers).
Enable Block Editor For Campaigns
Code that will modify the way the Campaign post type is set up to so that…
Add Field To Set Custom Page As Donation Page
Create a new campaign field allowing to select the page where donations are made.
Change Campaign Slug Base
Change the /campaigns/ bit to something else.
Use Page Template For Campaigns
Instead of using the Post template for campaigns, use the Page template as a fallback.