PluginProbe
Essential Widgets / trunk
Essential Widgets vtrunk
3.2.1 3.3 3.2 trunk 1.0.0 1.0.1 1.1 1.2 1.2.1 1.2.2 1.3 1.4 1.4.1 1.5 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.8 1.9 2.0 2.1 2.2 All 31 releases
essential-widgets / includes / class-essential-widgets-i18n.php

class-essential-widgets-i18n.php in Essential Widgets trunk, at includes/class-essential-widgets-i18n.php

48 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Define the internationalization functionality
5 *
6 * Loads and defines the internationalization files for this plugin
7 * so that it is ready for translation.
8 *
9 * @link https://catchplugins.com
10 * @since 1.0.0
11 *
12 * @package Essential_Widgets
13 * @subpackage Essential_Widgets/includes
14 */
15
16 /**
17 * Define the internationalization functionality.
18 *
19 * Loads and defines the internationalization files for this plugin
20 * so that it is ready for translation.
21 *
22 * @since 1.0.0
23 * @package Essential_Widgets
24 * @subpackage Essential_Widgets/includes
25 * @author Catch Plugins <info@catchplugins.com>
26 */
27 class Essential_Widgets_i18n {
28
29
30 /**
31 * Load the plugin text domain for translation.
32 *
33 * @since 1.0.0
34 */
35 public function load_plugin_textdomain() {
36
37 load_plugin_textdomain( // phpcs:ignore PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound -- Kept for compatibility with WordPress < 4.6 where auto-loading is not available.
38 'essential-widgets',
39 false,
40 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
41 );
42
43 }
44
45
46
47 }
48