From e651709bf26cfd5debfa020e7d4e83812fb90626 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Fri, 22 Jul 2022 14:17:22 +0200 Subject: [PATCH] changed text domain --- includes/hangar-plugin-init-textdomain.php | 24 ++++++++-------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/includes/hangar-plugin-init-textdomain.php b/includes/hangar-plugin-init-textdomain.php index 9699a4b..5b3282c 100644 --- a/includes/hangar-plugin-init-textdomain.php +++ b/includes/hangar-plugin-init-textdomain.php @@ -1,25 +1,17 @@ + * @link https://hangar.org + * @since 1.0.0 + * @package hangar-wp-plugin + * @subpackage hangar-wp-plugin/includes + * @author Jorge - vitrubio.net */ -function hangar_init_textdomain() { - load_plugin_textdomain( 'hangar-wpplugin', null, plugin_dir_path( __FILE__ ).'/assets/languages/' ); +function hangar_wpplugin_init_textdomain() { + load_plugin_textdomain( 'hangar-wpplugin-textdomain', null, plugin_dir_path( __FILE__ ).'/assets/languages/' ); } -add_action('plugins_loaded', 'hangar_init_textdomain'); +add_action('plugins_loaded', 'hangar_wpplugin_init_textdomain');