Current Path : /storage/v11800/newruvamithai/public_html/wp-content/plugins/templatekit-shortcode-for-post-and-page/inc/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/newruvamithai/public_html/wp-content/plugins/templatekit-shortcode-for-post-and-page/inc/Template_Kit_i18n.php |
<?php
class Template_Kit_I18n
{
/**
* Initialize Text Domain.
*/
function __construct(){
add_action( 'plugins_loaded', [ $this, 'load_plugin_text_domain' ] );
}
/**
* Load text domain.
* @return void
*/
public function load_plugin_text_domain() {
load_plugin_textdomain(
'templatekit-wp-shortcode',
false,
dirname(dirname(plugin_basename(__FILE__))) . '/languages/'
);
}
}
new Template_Kit_I18n();