Description #
This action runs 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);
Usage #
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.
Source Code #
This action is located in fluentformpro/src/classes/FormStyler.php, fluentform/app/Hooks/actions.php