2021-09-21 15:01:08 +02:00
< ? php
2021-09-21 15:06:29 +02:00
/**
* @ package Polylang
*/
2021-09-21 15:01:08 +02:00
/**
* Settings class for media language and translation management
*
* @ since 1.8
*/
class PLL_Settings_Media extends PLL_Settings_Module {
2021-09-21 15:06:29 +02:00
/**
* Stores the display order priority .
*
* @ var int
*/
public $priority = 30 ;
2021-09-21 15:01:08 +02:00
/**
2021-09-21 15:06:29 +02:00
* Constructor
2021-09-21 15:01:08 +02:00
*
* @ since 1.8
*
* @ param object $polylang polylang object
*/
public function __construct ( & $polylang ) {
2021-09-21 15:06:29 +02:00
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' ,
)
);
2021-09-21 15:01:08 +02:00
}
}