PluginProbe
WP Ultimate Post Grid / 4.1.1
WP Ultimate Post Grid v4.1.1
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
wp-ultimate-post-grid / includes / class-wpupg-i18n.php

class-wpupg-i18n.php in WP Ultimate Post Grid 4.1.1, at includes/class-wpupg-i18n.php

49 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 * Define the internationalization functionality.
4 *
5 * @link https://bootstrapped.ventures
6 * @since 3.0.0
7 *
8 * @package WP_Ultimate_Post_Grid
9 * @subpackage WP_Ultimate_Post_Grid/includes
10 */
11
12 /**
13 * Define the internationalization functionality.
14 *
15 * Loads and defines the internationalization files for this plugin
16 * so that it is ready for translation.
17 *
18 * @since 3.0.0
19 * @package WP_Ultimate_Post_Grid
20 * @subpackage WP_Ultimate_Post_Grid/includes
21 * @author Brecht Vandersmissen <brecht@bootstrapped.ventures>
22 */
23 class WPUPG_i18n {
24
25 /**
26 * Register actions and filters.
27 *
28 * @since 3.0.0
29 */
30 public static function init() {
31 add_action( 'init', array( __CLASS__, 'load_plugin_textdomain' ) );
32 }
33
34 /**
35 * Load the plugin text domain for translation.
36 *
37 * @since 3.0.0
38 */
39 public static function load_plugin_textdomain() {
40 load_plugin_textdomain(
41 'wp-ultimate-post-grid',
42 false,
43 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
44 );
45 }
46 }
47
48 WPUPG_i18n::init();
49