fluentform_init_custom_stylesheet

Table of Contents

Description #

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);

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 hook is located in /fluentform/app/Hooks/Common.php

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *