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_Form_Templates::get_confirm_group_controller( array $block )

Creates a WP_Block array definition for the primary (controller) block in a confirm group


Parameters Parameters

$block

(array) (Required) A WP_Block definition array for the primary/default block in the group.


Top ↑

Return Return

(array) A new WP_Block definition array for the controller block.


Top ↑

Source Source

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

	private static function get_confirm_group_controller( $block ) {

		$block['attrs'] = wp_parse_args(
			array(
				'columns'                    => 6,
				'last_column'                => is_rtl() ? true : false,
				'isConfirmationControlField' => true,
				'llms_visibility'            => 'off',
				'match'                      => $block['attrs']['id'] . '_confirm',
			),
			$block['attrs']
		);

		return $block;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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