Submit
Path:
~
/
home
/
getwphos
/
public_html
/
almajd14
/
wp-content
/
plugins
/
qode-framework
/
inc
/
common
/
fields
/
File Content:
class-qodeframeworkfieldaddress.php
<?php if ( ! defined( 'ABSPATH' ) ) { // Exit if accessed directly. exit; } class QodeFrameworkFieldAddress extends QodeFrameworkFieldType { public function is_map_enabled() { return apply_filters( 'qode_framework_filter_address_field_type_api_key_is_set', false ); } public function load_assets() { parent::load_assets(); if ( $this->is_map_enabled() ) { wp_enqueue_script( 'google-map-api' ); } } public function render_field() { ?> <div class="qodef-address-field-holder" data-country data-lng="<?php echo esc_attr( $this->args['longitude_field'] ); ?>" data-lat="<?php echo esc_attr( $this->args['latitude_field'] ); ?>"> <input type="text" name="<?php echo esc_attr( $this->name ); ?>" value="<?php echo esc_attr( htmlspecialchars( $this->params['value'] ) ); ?>" class="qodef-field qodef-input qodef-address-field"/> <?php if ( ! $this->is_map_enabled() ) { ?> <p class="description"><?php esc_html_e( 'In order for the map functionality to be enabled please input the Google Map API key in the General section of the Masterds Options', 'qode-framework' ); ?></p> <?php } else { ?> <a class="qodef-reset-marker qodef-hide" href="#"><?php esc_html_e( 'Reset Marker', 'qode-framework' ); ?></a> <div class="qodef-map-canvas"></div> <?php } ?> </div> <?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