PluginProbe
WP Directory Kit / 1.2.7
WP Directory Kit v1.2.7
1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 1.4.0 1.4.1 All 35 releases
wpdirectorykit / includes / class-wpdirectorykit-i18n.php

class-wpdirectorykit-i18n.php in WP Directory Kit 1.2.7, at includes/class-wpdirectorykit-i18n.php

52 lines 1.0 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 listing-themes.com
10 * @since 1.0.0
11 *
12 * @package Wpdirectorykit
13 * @subpackage Wpdirectorykit/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 Wpdirectorykit
24 * @subpackage Wpdirectorykit/includes
25 * @author listing-themes.com <dev@listing-themes.com>
26 */
27
28 if ( ! defined( 'ABSPATH' ) ) {
29 exit; // Exit if accessed directly.
30 }
31 class Wpdirectorykit_i18n {
32
33
34 /**
35 * Load the plugin text domain for translation.
36 *
37 * @since 1.0.0
38 */
39 public function load_plugin_textdomain() {
40
41 load_plugin_textdomain(
42 'wpdirectorykit',
43 false,
44 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
45 );
46
47 }
48
49
50
51 }
52