# wp-ultimate-post-grid/2.5.0/vendor/vafpress/views/control/toggle.php

WP Ultimate Post Grid, version 2.5.0. 8 lines.

- Page: https://pluginprobe.com/plugins/wp-ultimate-post-grid/2.5.0/code/vendor/vafpress/views/control/toggle.php
- Raw: https://pluginprobe.com/plugins/wp-ultimate-post-grid/2.5.0/raw/vendor/vafpress/views/control/toggle.php
- Modified: 2015-04-15T08:46:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-ultimate-post-grid/2.5.0/code/vendor/vafpress/views/control/toggle.php#L10-L20`.

```php
<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_head', $head_info); ?>

<label>
	<input <?php if( $value ) echo 'checked'; ?> class="vp-input<?php if( $value ) echo ' checked'; ?>" type="checkbox" name="<?php echo $name; ?>" value="1" />
	<span></span>
</label>

<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_foot'); ?>
```
