apply_filters( 'llms_forms_remove_invisible_field', boolean $filter, array $block, array[] $block_list )

Filters whether or not invisible fields should be included


Description Description

If the block is not visible (according to LLMS block-level visibility settings) it will return an empty array (signaling the field to be removed).


Top ↑

Parameters Parameters

$filter

(boolean) Whether or not invisible fields should be included. Default is false.

$block

(array) A WP Block array.

$block_list

(array[]) The list of WP Block array $block comes from.


Top ↑

Source Source

File: includes/forms/class-llms-forms.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.