From 656d1f09222aa5e85b599cbb190d97516463372e Mon Sep 17 00:00:00 2001 From: Mitan Omar Date: Sun, 6 Jan 2019 15:20:58 +0100 Subject: [PATCH] change a hook name the hook name of get_ip() function is used befor in delete_olang() function --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index a6ca14f..c9d2a68 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -1434,7 +1434,7 @@ function get_ip() $return = preg_replace('/[^0-9a-z.:]/i', '', $ip); - is_array($plugin_run_result = Plugins::getInstance()->run('del_sql_delete_olang_func', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook + is_array($plugin_run_result = Plugins::getInstance()->run('kleeja_get_ip_func', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook return $return; }