Submit
Path:
~
/
home
/
getwphos
/
www
/
pioneerasphalt
/
wp-content
/
plugins
/
qode-optimizer
/
inc
/
admin
/
inc
/
common
/
fields
/
File Content:
class-qode-optimizer-framework-field-checkbox.php
<?php if ( ! defined( 'ABSPATH' ) ) { // Exit if accessed directly. exit; } class Qode_Optimizer_Framework_Field_Checkbox extends Qode_Optimizer_Framework_Field_Type { public function render_field() { if ( is_array( $this->options ) && count( $this->options ) ) { $values = $this->params['value']; ?> <div class="qodef-checkbox-group-holder"> <?php foreach ( $this->options as $key => $label ) : ?> <?php if ( '' !== $label ) { $checked = is_array( $values ) && in_array( is_int( $key ) ? (string) $key : $key, $values, true ) ? 'checked' : ''; ?> <div class="qodef-inline"> <input class="qodef-field" <?php echo esc_attr( $checked ); ?> type="checkbox" id="<?php echo esc_attr( $this->name . $key ); ?>" value="<?php echo esc_attr( $key ); ?>" name="<?php echo esc_attr( $this->name . '[]' ); ?>" data-option-name="<?php echo esc_attr( $this->name . '[' . esc_attr( $key ) . ']' ); ?>" data-option-type="checkbox" /> <label for="<?php echo esc_attr( $this->name . $key ); ?>"> <span class="qodef-label-view"></span> <span class="qodef-label-text"> <?php echo esc_html( $label ); ?> </span> </label> </div> <?php } endforeach; ?> <!-- Needed for font weight and fonts group of option in order to save empty value --> <div class="qodef-inline qodef-hide"> <label> <input checked type="checkbox" value="" name="<?php echo esc_attr( $this->name . '[]' ); ?>"> </label> </div> </div> <?php } } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
class-qode-optimizer-framework-field-checkbox.php
1557 bytes
0644
class-qode-optimizer-framework-field-color.php
904 bytes
0644
class-qode-optimizer-framework-field-date.php
938 bytes
0644
class-qode-optimizer-framework-field-file.php
1573 bytes
0644
class-qode-optimizer-framework-field-font.php
1291 bytes
0644
class-qode-optimizer-framework-field-googlefont.php
1042 bytes
0644
class-qode-optimizer-framework-field-hidden.php
793 bytes
0644
class-qode-optimizer-framework-field-image.php
2022 bytes
0644
class-qode-optimizer-framework-field-number.php
1588 bytes
0644
class-qode-optimizer-framework-field-radio.php
1925 bytes
0644
class-qode-optimizer-framework-field-select.php
1534 bytes
0644
class-qode-optimizer-framework-field-text.php
1468 bytes
0644
class-qode-optimizer-framework-field-textarea.php
740 bytes
0644
class-qode-optimizer-framework-field-textareaeditor.php
454 bytes
0644
class-qode-optimizer-framework-field-textareahtml.php
497 bytes
0644
class-qode-optimizer-framework-field-type.php
5916 bytes
0644
class-qode-optimizer-framework-field-yesno.php
1040 bytes
0644
N4ST4R_ID | Naxtarrr