Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.144.1.100
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/plugins/siteorigin-panels/compat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/siteorigin-panels/compat/widget-options.php
<?php

/**
 * Filter panels_data so it's compatible with Widget Options plugin.
 *
 * @return mixed
 */
function siteorigin_panels_widget_options_compat_panels_data( $panels_data ) {
	if ( ! empty( $panels_data['widgets'] ) && is_array( $panels_data['widgets'] ) ) {
		foreach ( $panels_data['widgets'] as & $widget ) {
			if ( ! empty( $widget['extended_widget_opts'] ) ) {
				$widget['extended_widget_opts'] = siteorigin_panels_widget_options_compat_filter( $widget['extended_widget_opts'] );
			}
		}
	}

	return $panels_data;
}
add_filter( 'siteorigin_panels_data', 'siteorigin_panels_widget_options_compat_panels_data' );

/**
 * Filter that removes any empty strings so they pass an ! isset() test.
 *
 * @return array
 */
function siteorigin_panels_widget_options_compat_filter( $value ) {
	if ( is_array( $value ) ) {
		foreach ( $value as $k => & $v ) {
			if ( is_array( $v ) ) {
				$v = siteorigin_panels_widget_options_compat_filter( $v );
			} elseif ( is_string( $v ) && empty( $v ) ) {
				unset( $value[$k] );
			}
		}
	}

	return $value;
}

Youez - 2016 - github.com/yon3zu
LinuXploit