This action run when a custom style is applied to the form . You can also push your own style using this.
* Source Action
do_action('fluentform_init_custom_stylesheet', $selectedStyle, $formId);
add_action('fluentform_init_custom_stylesheet', function ($selectedStyle, $formId)
// Do your stuffs here
// enque style
}, 10, 0);
This code should be placed in the functions.php file of your active theme.
This hook is located in /fluentform/app/Hooks/Common.php
Powered by BetterDocs
Your email address will not be published. Required fields are marked *