PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / trunk
JetFormBuilder — Dynamic Blocks Form Builder vtrunk
3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / compatibility / jet-engine / blocks / check-mark / block-template.php
jetformbuilder / compatibility / jet-engine / blocks / check-mark Last commit date
assets 1 month ago interfaces 1 year ago block-asset.php 1 year ago block-attributes.php 1 year ago block-render.php 1 year ago block-template.php 1 year ago block.json 2 months ago
block-template.php
36 lines
1 <?php
2 /**
3 * @var $attributes Attributes_Interface The block attributes
4 */
5
6 use JFB_Compatibility\Jet_Engine\Blocks\Check_Mark\Interfaces\Attributes_Interface;
7
8 /**
9 * @var \JFB_Compatibility\Jet_Engine\Jet_Engine $module
10 * @noinspection PhpUnhandledExceptionInspection
11 */
12 $module = jet_form_builder()->compat( \JFB_Compatibility\Jet_Engine\Jet_Engine::class );
13
14 wp_enqueue_script( $module->get_handle( 'check-mark-' . $module->get_option_type() ) );
15
16 // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
17 ?>
18 <div <?php echo $attributes->get_wrapper_attributes(); ?>>
19 <?php if ( $attributes->is_image_control() ) : ?>
20 <img
21 src="<?php echo esc_url( $attributes->get_default_icon_url() ); ?>"
22 class="jet-form-builder-check-mark-img"
23 />
24 <img
25 src="<?php echo esc_url( $attributes->get_checked_icon_url() ); ?>"
26 class="jet-form-builder-check-mark-img checked"
27 />
28 <?php else : ?>
29 <input
30 type="<?php echo esc_attr( $module->get_option_type() ); ?>"
31 class="check-mark-control"
32 >
33 <span></span>
34 <?php endif; ?>
35 </div>
36