How to Display a List of WPForms Using a Shortcode
This snippet will create a new shortcode that can display all your WPForms forms.
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
Allow mobile zoom
function et_add_viewport_meta(){ echo ''; }
Remove the Page Title from the Page Header
The following code can be used to remove the title from the page header title area…
Display WPForm Entries
This PHP code allows you to display form data stored by WPForms using a shortcode. The…
Add Field Placeholders
Add placeholder attributes to donation fields, removing the label field.
Keep Username As Display Name
When people update their profile, keep their display name set to be the same as their…
Editing the .htaccess File
php_value memory_limit 256M
Displaying Shortcodes Inside Form Label Fields
/** * Run shortcodes on the form label field. * * @link https://wpforms.com/developers/how-to-display-shortcodes-inside-the-label-of-the-form-field/ */ function add_shortcode_to_label(…
Add Custom Donation Field With Dynamic Value
Add a new donation field to be displayed in Charitable emails related to donations.
MemberPress: Remove all but one country from the drop-down
Removes all the countries for the drop-down list on the account and registration pages and leaves…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
After Checkout Event In WooCommerce
This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as…
Hide product categories
Hides some categories that customers are not supposed to see.