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( )…
Make Form Fields Required Not Required
This example shows how to make a form field required or not required.
Add Custom Campaign And Donation Field
In this example, a new email field is added which can be used both in campaign…
Add Custom Donation Field
Add a new donation field to be displayed in Charitable emails related to donations.
Change Country Field To Hidden
Change the Country field in the donation form to a hidden field with a hard-coded default…
Change Custom Amount Field Label
Filter the custom amount field description.
Admin Bar - Updates
Show updates in Admin Bar
Continue Shopping Button
/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…
WPCode Add New Snippet Skip Library Screen
This snippet enables you to skip the snippet library screen when adding a new snippet in…
Disable All Admin Notices individually
function disable_all_admin_notices() { remove_all_actions('admin_notices'); } add_action('admin_init', 'disable_all_admin_notices');
Create List of Child Pages
To show a list of Child pages on the Parent Page
WP Simple Pay: Add Custom CSS Classes to the Payment Button
"Payment Button" refers to the button that launches an On-site Overlay or Stripe Checkout Payment Form.
Change the Default Taxonomy Slug “locations-category”
This filter can be used to change the default taxonomy slug “locations-category”.
Prevent AIOSEO From Outputting any Data on Category Archive Pages
Prevent AIOSEO from outputting any data on category archive pages.
Set a specific language for Cloudflare Turnstile.
/** * Set a specific language for Cloudflare Turnstile. * * @link https://wpforms.com/developers/how-to-set-the-language-for-cloudflare-turnstile */ function wpf_add_turnstile_language_script()…