formcierge_processed_template
Filter

Since v1.0.0

Filter the final CSS output after a form style template has been compiled.

Parameters
$output string The compiled CSS string.
$form_id int The form ID.
Defined in
src/templates/engine/CSSCompiler.js
add_filter( 'formcierge_processed_template', function ( $output, $form_id ) {
    if ( $form_id === 12 ) {
        $output .= '.fc-form { border: 2px solid red; }';
    }
    return $output;
}, 10, 2 );