HEX
Server: Apache/2
System: Linux cat17246.lnwhostname.com 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64
User: firststeps (1017)
PHP: 7.3.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/firststeps/public_html/wp-content/plugins/jetformbuilder/templates/common/start-form-row.php
<?php
/**
 * Start from template
 *
 * @var \Jet_Form_Builder\Blocks\Render\Base $this
 */

// If this file is called directly, abort.
use Jet_Form_Builder\Blocks\Native_Block_Wrapper_Attributes;

if ( ! defined( 'WPINC' ) ) {
	die;
}

$attrs = '';

if ( $this instanceof Native_Block_Wrapper_Attributes ) {
	$attrs = get_block_wrapper_attributes(
		array(
			'class' => sprintf( 'jet-form-builder-row field-type-%s', $this->get_name() ),
		)
	);
} else {
	$this->add_attribute( 'class', 'jet-form-builder-row' );
	$this->add_attribute( 'class', 'field-type-' . $this->get_name() );
}


$is_group_type = in_array( $this->get_name(), array( 'checkbox-field', 'radio-field' ), true );
$tag = ( $is_group_type && jet_fb_live_args()->markup_type === 'fieldset' ) ? 'fieldset' : 'div'; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
printf(
	'<%3$s %1$s %2$s>',
	$this->get_attributes_string(), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	$attrs, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	esc_attr( $tag )
);