Blocks Code
PHP
Output Method "PHP" support PHP syntax and you can easily output value of your block controls:
PHP
<?php if ( $attributes['control_name'] ) : ?>
<p>The value is True</p>
<?php else: ?>
<p>The value is False</p>
<?php endif; ?>
Output Method "PHP" support PHP syntax and you can easily output value of your block controls:
<?php if ( $attributes['control_name'] ) : ?>
<p>The value is True</p>
<?php else: ?>
<p>The value is False</p>
<?php endif; ?>