cncf.io/web/wp-content/mu-plugins/custom/lfevents/includes/class-lfevents-i18n.php

47 lines
874 B
PHP
Executable File

<?php
/**
* Define the internationalization functionality
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @link http://example.com
* @since 1.0.0
*
* @package LFEvents
* @subpackage LFEvents/includes
*/
/**
* Define the internationalization functionality.
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @since 1.0.0
* @package LFEvents
* @subpackage LFEvents/includes
* @author Your Name <email@example.com>
*/
class LFEvents_I18n {
/**
* Load the plugin text domain for translation.
*
* @since 1.0.0
*/
public function load_plugin_textdomain() {
load_plugin_textdomain(
'lfevents',
false,
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
);
}
}