wordpress/php-fpm/wordpress_files/plugins/polylang/settings/settings-media.php

29 lines
564 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?php
/**
* Settings class for media language and translation management
*
* @since 1.8
*/
class PLL_Settings_Media extends PLL_Settings_Module {
/**
* 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', 'polylang' ),
'active_option' => 'media_support',
)
);
}
}