48 lines
938 B
PHP
48 lines
938 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Define the internationalization functionality
|
||
|
*
|
||
|
* Loads and defines the internationalization files for this plugin
|
||
|
* so that it is ready for translation.
|
||
|
*
|
||
|
* @link https://arc-hive.zone
|
||
|
* @since 1.0.0
|
||
|
*
|
||
|
* @package archive_wpplugin
|
||
|
* @subpackage archive_wpplugin/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 archive_wpplugin
|
||
|
* @subpackage archive_wpplugin/includes
|
||
|
* @author Jorge - vitrubio.net <jorge@vitrubio.net>
|
||
|
*/
|
||
|
class archive_wpplugin_i18n {
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Load the plugin text domain for translation.
|
||
|
*
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
public function load_plugin_textdomain() {
|
||
|
|
||
|
load_plugin_textdomain(
|
||
|
'archive-wpplugin',
|
||
|
false,
|
||
|
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
||
|
);
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
}
|