| Server IP : 94.16.115.136 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux rogerrabbit 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : bkillingseder ( 1001) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /srv/web/www/sites/silentroots/html/wp-content/plugins/polylang/settings/ |
Upload File : |
<?php
/**
* @package Polylang
*/
/**
* Settings class for media language and translation management
*
* @since 1.8
*/
class PLL_Settings_Media extends PLL_Settings_Module {
/**
* Stores the display order priority.
*
* @var int
*/
public $priority = 30;
/**
* Constructor
*
* @since 1.8
*
* @param object $polylang polylang object
*/
public function __construct( &$polylang ) {
parent::__construct(
$polylang,
array(
'module' => 'media',
'title' => __( 'Media', 'polylang' ),
'description' => __( 'Activate languages and translations for media only if you need to translate the text attached to the media: the title, the alternative text, the caption, the description... Note that the file is not duplicated.', 'polylang' ),
'active_option' => 'media_support',
)
);
}
}