Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

Developer DocumentationFormidable Hooks
frm_add_css_to_uploads_dir

frm_add_css_to_uploads_dir

This hook allows you to force Formidable's generated CSS file (formidableforms.css) to be saved in the uploads folder (uploads/formidable/css/) instead of the default plugin folder (plugins/formidable/css/). This is useful when the /plugins/ folder is read-only but you don't want to set the site-wide DISALLOW_FILE_MODS constant. After adding this filter, save a form style to trigger the file to regenerate.

Usage

add_filter( 'frm_add_css_to_uploads_dir', '__return_true' );

Formidable Forms makes advanced site building simple. Launch forms, directories, dashboards, and custom WordPress apps faster than ever before.

Parameter

  • $add_to_uploads (bool)

Examples

Generate the CSS file in the uploads folder

add_filter( 'frm_add_css_to_uploads_dir', '__return_true' );
Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2026 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Complete your purchase
    Don't forget your purchase!
    Complete Purchase
    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms