arc-hive-wordpress-plugin/includes/arcHIVE-init-textdomain.php

27 lines
665 B
PHP

<?php
/**
* Load translation, if it exists
*
* @link https://arc-hive.zone
* @since 1.1.0
*
* @package archive_wpplugin
* @subpackage archive_wpplugin/includes
*/
/**
* Load translation, if it exists
*
* This class defines all code necessary to run during the plugin's activation.
*
* @since 1.1.0
* @package archive_wpplugin
* @subpackage archive_wpplugin/includes
* @author Jorge - vitrubio.net <jorge@vitrubio.net>
*/
function arcHIVE_init_textdomain() {
load_plugin_textdomain( 'archive-wpplugin', null, plugin_dir_path( __FILE__ ).'/assets/languages/' );
}
add_action('plugins_loaded', 'arcHIVE_init_textdomain');