18 lines
577 B
PHP
18 lines
577 B
PHP
<?php
|
|
/**
|
|
* Load translation, if it exists
|
|
*
|
|
* This class defines all code necessary to run during the plugin's activation.
|
|
*
|
|
* @link https://oficinasuport.xarxaprod.cat
|
|
* @since 1.0.0
|
|
* @package ofisuport-wp-plugin
|
|
* @subpackage ofisuport-wp-plugin/includes
|
|
* @author Jorge - vitrubio.net <jorge@vitrubio.net>
|
|
*/
|
|
|
|
function ofisuport_wpplugin_init_textdomain() {
|
|
load_plugin_textdomain( 'ofisuport-wpplugin-textdomain', null, plugin_dir_path( __FILE__ ).'/assets/languages/' );
|
|
}
|
|
add_action('plugins_loaded', 'ofisuport_wpplugin_init_textdomain');
|