Home / Admin / Force WPForms to use modern markup
Duplicate Snippet

Embed Snippet on Your Site

Force WPForms to use modern markup

If using the deprecated Credit Card field prevents you from enabling modern markup, you can bypass this restriction by adding a custom filter. To force WPForms to enable the modern markup option, add the following code snippet to your website.

40+
Code Preview
php
<?php
/* 
Adding a background image to your forms.
Original doc link: https://wpforms.com/docs/styling-your-forms/
For support, please visit: https://www.facebook.com/groups/wpformsvip
*/
add_filter( 'wpforms_admin_settings_modern_markup_register_field_is_disabled', '__return_false' );

Comments

Add a Comment