403Webshell
Server IP : 146.190.157.162  /  Your IP : 216.73.216.186
Web Server : Apache
System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64
User : businessweek ( 639)
PHP Version : 8.2.10-2ubuntu2.2
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/martanutri/wp-content/plugins/polylang/src/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/martanutri/wp-content/plugins/polylang/src/Model/Hide_Default.php
<?php
/**
 * @package Polylang
 */

namespace WP_Syntex\Polylang\Model;

/**
 * Class to filter the list of languages to only include non-default languages.
 */
class Hide_Default implements Languages_Proxy_Interface {
	/**
	 * Returns the proxy's key.
	 *
	 * @since 3.8
	 *
	 * @return string
	 */
	public function key(): string {
		return 'hide_default';
	}

	/**
	 * Returns the list of non-default languages after passing it through this proxy.
	 *
	 * @since 3.8
	 *
	 * @param \PLL_Language[] $languages List of languages to filter.
	 * @return \PLL_Language[]
	 */
	public function filter( array $languages ): array {
		return array_filter(
			$languages,
			static function ( $lang ) {
				return ! $lang->is_default;
			}
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit