Search results for: admin
Displaying WPForms Pro on Quiz and Survey Master Results Pages
This code snippet will ensure WPForms Pro forms displays properly on QSM results pages.
Fixing WPForms Bulk Update Issues with WP Umbrella
This code snippet will force the WPForms updater to run during the WP Umbrella snapshot request.
Enable JSON and SVG uploads for administrator users only
/** * Enable JSON and SVG uploads for administrator users only. */ add_filter( 'upload_mimes', function (…
Enable Secure Forex Trade Functions
This snippet improves the website by adding essential functions for expert forex trading, including security, customization,…
Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );
Remove Google Fonts (Elementor)
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );
Ensure Webfont is Loaded (non-Elementor)
function custom_font_display( $current_value, $font_family, $data ) { return 'swap'; } add_filter( 'font_display', 'custom_font_display', 10, 3 );
Ensure Webfont is Loaded (Elementor)
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Remove Gutenberg Block CSS
Remove Gutenberg Block Library CSS from loading on the frontend
Fix Formating of Buttons in Off Canvas
This fixes the buttons in the off canvas not obeying the global CSS from the Customiser
Conditionally disable Cloudflare Turnstile
This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…
Number slider validation for multi page forms
This snippet outputs a small script that listens for the wpformsBeforePageChange event and stops the page…
Number slider validation for single page forms
This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.