Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
qode-framework
/
inc
/
common
/
fields
/
File Content:
class-qodeframeworkfieldfont.php
<?php if ( ! defined( 'ABSPATH' ) ) { // Exit if accessed directly. exit; } class QodeFrameworkFieldFont extends QodeFrameworkFieldType { public function __construct( $params ) { $select_class = 'qodef-select2'; $params['select_class'] = $select_class; $include_fonts = ''; if ( isset( $params['args'] ) && isset( $params['args']['include_only'] ) && '' != $params['args']['include_only'] ) { $include_fonts = $params['args']['include_only']; } $params['include_only'] = $include_fonts; parent::__construct( $params ); } public function render_field() { ?> <select class="<?php echo esc_attr( $this->params['select_class'] ); ?> qodef-field qodef-font-field" name="<?php echo esc_attr( $this->name ); ?>" data-option-name="<?php echo esc_attr( $this->name ); ?>" data-option-type="selectbox"> <?php $fonts = qode_framework_get_complete_fonts_array(); foreach ( $fonts as $key => $label ) { if ( '-1' == $key ) { $key = ''; } ?> <option <?php if ( $this->params['value'] == $key ) { echo " selected='selected'"; } ?> value="<?php echo esc_attr( $key ); ?>"> <?php echo esc_html( $label ); ?> </option> <?php } ?> </select> <?php } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
class-qodeframeworkfieldaddress.php
1321 bytes
0644
class-qodeframeworkfieldcheckbox.php
1425 bytes
0644
class-qodeframeworkfieldcolor.php
580 bytes
0644
class-qodeframeworkfielddate.php
951 bytes
0644
class-qodeframeworkfieldfile.php
1558 bytes
0644
class-qodeframeworkfieldfont.php
1247 bytes
0644
class-qodeframeworkfieldgooglefont.php
1006 bytes
0644
class-qodeframeworkfieldhidden.php
757 bytes
0644
class-qodeframeworkfieldicon.php
1342 bytes
0644
class-qodeframeworkfieldiconpack.php
1318 bytes
0644
class-qodeframeworkfieldimage.php
2104 bytes
0644
class-qodeframeworkfieldnumber.php
1581 bytes
0644
class-qodeframeworkfieldpassword.php
991 bytes
0644
class-qodeframeworkfieldradio.php
1979 bytes
0644
class-qodeframeworkfieldselect.php
2158 bytes
0644
class-qodeframeworkfieldtext.php
1443 bytes
0644
class-qodeframeworkfieldtextarea.php
572 bytes
0644
class-qodeframeworkfieldtextareaeditor.php
431 bytes
0644
class-qodeframeworkfieldtextareasvg.php
618 bytes
0644
class-qodeframeworkfieldtype.php
5587 bytes
0644
class-qodeframeworkfieldyesno.php
1011 bytes
0644
N4ST4R_ID | Naxtarrr