How to Restrict Numbers in a Single Line Text Form Field
/** * Disallow numbers in a single-line text field * * @link https://wpforms.com/developers/how-to-restrict-numbers-in-a-single-line-text-form-field/ */ function wpf_dev_disallow_numbers_text_field(…
How to Disable reCAPTCHA for Automated Testing
/** * Disable for automated testing. * * @link https://wpforms.com/developers/how-to-disable-recaptcha-for-automated-testing/ */ // Disable reCAPTCHA assets and…
How to Add Address Field Validation For Authorize.net
/** * Add address validation for Authorize.net address fields * * @link https://wpforms.com/developers/how-to-add-address-field-validation-for-authorize-net/ */ function wpf_dev_authorize_address_validation(…
How to Perform Field Comparisons Within Your WPForms
/** * Perform Field Comparisons * * @link https://wpforms.com/developers/how-to-perform-field-comparisons-within-your-wpforms/ */ function wpf_dev_compare_fields( $fields, $entry, $form_data )…
Setting the Default Address Scheme to International
This snippet is used to update the default behavior of the Address field in WPForms. This…
Dynamically Displaying Years in Your Forms
/** * Dynamically display years in the forms * * @link https://wpforms.com/developers/how-to-dynamically-display-years-in-your-forms/ */ function wpf_dev_dynamic_school_year( )…
Collect National Id Number
Add a field that collects the donor's national ID number, or any other text field.
Add Campaigns Menu
Add a top-level Campaigns menu tab to the menu in the WordPress dashboard.
Add a color picker field in Formidable Forms
Install this snippet and add 'frm-color-picker' in the 'CSS Layout Classes' setting for a field.
Display Post and Page IDs in WordPress Columns
This PHP code enables you to display the IDs of posts and pages within WordPress columns.…
display user name in a menu
/** * Show a user's display name/user name in a WordPress menu. * Once this code…
Remove Author Links
If you are disabling author archives on your site you will want to remove the author…
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 Rank Math Plugin
This filter can be used to increase the default number of posts imported per batch from…
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…