|
Server : LiteSpeed System : Linux premium92.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : rbnsfqys ( 805) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/rbnsfqys/bettermart.online/wp-content/plugins/pinterest-for-woocommerce/views/inputs/ |
<?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>