PluginProbe
PixCodes / 2.3.8
PixCodes v2.3.8
2.3.9 trunk 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8
pixcodes / params / tags.php

tags.php in PixCodes 2.3.8, at params/tags.php

16 lines 759 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( '-1' );
4 }
5
6 $class= "span12";
7
8 if ( isset($param['admin_class'] ) ) $class = $param['admin_class'];
9 $is_content = '';
10 if ( isset($param['is_content'] ) ) $is_content = 'class="is_shortcode_content"'; ?>
11
12 <span class="<?php echo esc_attr( $class ); ?> input-tags" >
13 <label for="<?php echo esc_attr( $param['param_key'] ); ?>"><?php echo esc_html( $param['name'] ); ?></label>
14 <select type="<?php echo esc_attr( $param['type'] ); ?>" name="<?php echo esc_attr( $param['param_key'] ); ?>" <?php echo wp_kses_data( $is_content ); ?> value="<?php echo esc_attr( implode( ',', $param['value'] ) ); ?>" data-options='<?php echo esc_attr( wp_json_encode( $param['options'] ) ); ?>'></select>
15 </span>
16