Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Forms_Dynamic_Fields::make_all_visible( array $block )
Make the block and its children visible
Parameters Parameters
- $block
-
(array) (Required) A parsed WP_Block.
Return Return
(array)
Source Source
File: includes/forms/class-llms-forms-dynamic-fields.php
private function make_all_visible( $block ) { if ( ! empty( $block['innerBlocks'] ) ) { foreach ( $block['innerBlocks'] as $index => $inner_block ) { $block['innerBlocks'][ $index ] = $this->make_all_visible( $inner_block ); } } $block['attrs']['llms_visibility'] = ''; return $block; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |