PluginProbe
Polylang / 2.8
Polylang v2.8
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
polylang / settings / settings-media.php

settings-media.php in Polylang 2.8, at settings/settings-media.php

38 lines 683 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package Polylang
4 */
5
6 /**
7 * Settings class for media language and translation management
8 *
9 * @since 1.8
10 */
11 class PLL_Settings_Media extends PLL_Settings_Module {
12 /**
13 * Stores the display order priority.
14 *
15 * @var int
16 */
17 public $priority = 30;
18
19 /**
20 * Constructor
21 *
22 * @since 1.8
23 *
24 * @param object $polylang polylang object
25 */
26 public function __construct( &$polylang ) {
27 parent::__construct(
28 $polylang,
29 array(
30 'module' => 'media',
31 'title' => __( 'Media', 'polylang' ),
32 'description' => __( 'Activate languages and translations for media', 'polylang' ),
33 'active_option' => 'media_support',
34 )
35 );
36 }
37 }
38