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


(array) (Required) A parsed WP_Block.

Top ↑

Return Return


Top ↑

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;


Top ↑

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.