Description #
This action runs during asset loading for the editor. You can hook into this action and load your custom scripts or do other tasks.
/*
* Source Action
*/
do_action('fluentform/loading_editor_assets', $form);
Usage #
The following would apply to all forms:
add_action('fluentform/loading_editor_assets', 'your_custom_function', 10, 1);
function your_custom_function($form)
{
// Do your stuff here
}
Parameters #
- $form (object) Form Object
Source Code #
This hook is located in fluentform/app/Modules/Registerer/Menu.php