APIgoat_API_wordpress_plugin/includes/class-apigoat_doc-i18n.php

46 lines
884 B
PHP
Raw Normal View History

2020-09-03 22:10:06 +00:00
<?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 apigoat_doc
* @subpackage apigoat_doc/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 apigoat_doc
* @subpackage apigoat_doc/includes
* @author Your Name <email@example.com>
*/
class apigoat_doc_i18n
{
/**
* Load the plugin text domain for translation.
*
* @since 1.0.0
*/
public function load_plugin_textdomain()
{
load_plugin_textdomain(
'apigoat_doc',
false,
dirname(dirname(plugin_basename(__FILE__))) . '/languages/'
);
}
}