PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
plugins
/
flatsome-plus
/
inc
<?php class save_settings{ public function __construct() { $this->process_save_setting(); } public function process_save_setting() { if( isset( $_POST['save_settings'] ) && 'save' === $_POST['save_settings'] ) { $options = isset( $_POST[flatsomeplusOPTION] ) && !empty( $_POST[flatsomeplusOPTION] )? $_POST[flatsomeplusOPTION] : []; $sanitized_options = array_map([$this,'new_sanitize_text_field'],$options); if( $sanitized_options ) { update_option(flatsomeplusOPTION,$sanitized_options); } } } public function new_sanitize_text_field( $option ) { if( is_array( $option ) ) { $option = array_map([$this, 'new_sanitize_text_field'],$option); }else{ $option = sanitize_text_field( $option ); } return $option; } } new save_settings;
[-] jdf.php
[edit]
[-] fplus-helper.php
[edit]
[-] composer.lock
[edit]
[+]
importer
[-] init.php
[edit]
[-] RTL_License_a81cc3849b4596e9.php
[edit]
[+]
sms
[+]
notification
[+]
recently-viewed
[+]
vendor
[-] dokan.php
[edit]
[+]
ticket
[+]
offer
[-] save-settings.php
[edit]
[-] install.php
[edit]
[+]
factor
[+]
elementor
[+]
order-tracking
[-] composer.json
[edit]
[+]
order-notification
[+]
..
[+]
wc-api
[+]
addons