fluentform_is_form_renderable

Description  #

This filter checks if the form is ready to render, if some condition is not met, then this filter used to stop rendering form.

apply_filters('fluentform_is_form_renderable', $isRenderable, $form);

Usage   #

The following would apply to all forms:

add_filter('fluentform_is_form_renderable', function($isRenderable, $form){
   return $isRenderable;
}, 10, 1);

Parameters #

  • $form (object) The $form Object
  • $isRenderable (array) Render Settings

Placement #

This code should be placed in the functions.php file of your active theme.

Source Code #

This filter is located in app/Modules/Component/Component.php

Powered by BetterDocs

Leave a Reply

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