X7ROOT File Manager
Current Path:
/home/okeydcqc/pointecgroup.com/wp-content/plugins/wp-social/app
home
/
okeydcqc
/
pointecgroup.com
/
wp-content
/
plugins
/
wp-social
/
app
/
ðŸ“
..
📄
api-routes.php
(4.04 KB)
📄
avatar.php
(7.13 KB)
📄
counter-settings.php
(1.58 KB)
📄
legacy.php
(949 B)
📄
login-settings.php
(5.46 KB)
📄
providers.php
(14.95 KB)
📄
route.php
(829 B)
📄
settings.php
(6.45 KB)
📄
share-settings.php
(4.45 KB)
📄
share.php
(2.19 KB)
Editing: counter-settings.php
<?php namespace WP_Social\App; use WP_Social\Traits\Singleton; defined('ABSPATH') || exit; class Counter_Settings { use Singleton; const OK_GLOBAL = 'xs_counter_global_setting_data'; const OK_STYLES = 'xs_style_setting_data_counter'; const OK_PROVIDER = 'xs_counter_providers_data'; const OK_PROVIDER_ENABLED = 'xs_providers_enabled_counter'; private $global; private $providers; private $enabled; private $styles; public function __construct() { $this->global = get_option(self::OK_GLOBAL, []); $this->enabled = get_option(self::OK_PROVIDER_ENABLED, []); $this->providers = get_option(self::OK_PROVIDER, []); $this->styles = get_option(self::OK_STYLES, []); } public function get_enabled_providers() { return $this->enabled; } public function update_enabled_providers($val) { $this->enabled = $val; update_option(self::OK_PROVIDER_ENABLED, $val, true); return $this; } public function get_provider_settings() { return $this->providers; } public function update_provider_settings($val) { $this->providers = $val; update_option(self::OK_PROVIDER, $val, true); return $this; } public function get_style_settings() { return $this->styles; } public function update_style_settings($val) { $this->styles = $val; update_option(self::OK_STYLES, $val, true); return $this; } public function get_global_settings() { return $this->global; } public function update_global_settings($val) { $this->global = $val; update_option(self::OK_GLOBAL, $val, true); return $this; } }
Upload File
Create Folder