How to Block Names From Completing Your Form - Simple format
/** * Prevent certain names from the Simple format Name form field. * * @link https://wpforms.com/developers/how-to-block-names-from-completing-your-form/…
Add Currency
Add a new currency (the example here is Armenian Dram currency (AMD) ).
Fix the InvalidInternetMessageHeader Error in Outlook
This snippet will modify specific headers in your emails, which can help resolve this ‘InvalidInternetMessageHeader’ error…
CCT – správa slugu cez pole slug do Gruppa Taxonomy
/** * CCT – správa slugu cez pole slug do Gruppa Taxonomy * Pole "slug" v…
Allow WebP Files Upload
The provided PHP code is intended to enable the upload of WebP image files in WordPress…
Add Dynamic Hidden Field
Dynamically set as a hidden field in the donation form, based on the ID of the…
CCT – základné SEO cez pole seo_parent od Gruppa Taxonomy
/** * CCT – základné SEO cez pole seo_parent od Gruppa Taxonomy * Načíta SEO údaje…
Enable WP Mail SMTP Constants
This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…
Applying Custom Map Styles to the Map Field
This code snippet will use your custom map style in WPForms Map field.
Allow only specific days of the month in all WPForms date pickers
If you only want users to select certain days of the month in the Date Picker,…
Add Image Alt Text automatic
function add_alt_text_to_images( $html ) { // Check if the image has a title attribute if (…
Request Approval to add new Plugins
added to secure the website
Exclude All Posts of a Category from News Sitemap
This snippet can be used to exclude All Posts of a Category from News Sitemap. Note:…
Customize Donation Stats
Customize the stats that are shown in the Donation Stats widget.
MemberPress: Add Author Custom Bio Shortcode
Add the [mpcs-author-custom-bio slug="mepr_short_bio"] shortcode to a post, page, or course. The shortcode will display the…