HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/appointmentbook.me/wp-content/plugins/pinterest-for-woocommerce/views/inputs/form.php
<?php
/**
 * Form
 *
 * @package Automattic\WooCommerce\Pinterest\View\PHPView
 */

declare( strict_types=1 );

defined( 'ABSPATH' ) || exit;

/**
 * PHP view.
 *
 * @var \Automattic\WooCommerce\Pinterest\View\PHPView $this
 */

/**
 * Form.
 *
 * @var array $form
 */
$form = $this->form;
?>

<div class="pinterest-input <?php echo esc_attr( $form['pinterest_wrapper_class'] ?? '' ); ?>">
	<?php
	if ( ! empty( $form['type'] ) ) {
		// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
		echo $this->render_partial( path_join( 'inputs/', $form['type'] ), array( 'input' => $form ) );
	}

	if ( ! empty( $form['children'] ) ) {
		foreach ( $form['children'] as $form ) {
			// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
			echo $this->render_partial( 'inputs/form', array( 'form' => $form ) );
		}
	}
	?>
</div>