403Webshell
Server IP : 185.68.16.147  /  Your IP : 216.73.216.209
Web Server : Apache
System : Linux web789.default-host.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : jt292766 ( 1182)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/jt292766/konstruktbud.com.ua/www/wp-content/plugins/polylang/src/modules/Blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jt292766/konstruktbud.com.ua/www/wp-content/plugins/polylang/src/modules/Blocks/load.php
<?php
/**
 * @package Polylang
 */

namespace WP_Syntex\Polylang\Blocks;

use WP_Syntex\Polylang\Blocks\Language_Switcher\Standard\Block as Standard_Block;
use WP_Syntex\Polylang\Blocks\Language_Switcher\Navigation\Block as Navigation_Block;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Don't access directly.
}

add_action(
	'pll_init',
	function ( $polylang ) {
		if ( $polylang->model->has_languages() ) {
			$polylang->switcher_block   = ( new Standard_Block( $polylang ) )->init();
			$polylang->navigation_block = ( new Navigation_Block( $polylang ) )->init();
		}
	}
);

Youez - 2016 - github.com/yon3zu
LinuXploit