From 9e7e8a5494ecd4f897af46861d64e470d9c988b9 Mon Sep 17 00:00:00 2001 From: saimonh3 Date: Thu, 21 Nov 2019 09:14:37 +0600 Subject: [PATCH] refactor: get_raw_option method --- dokan-wpml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dokan-wpml.php b/dokan-wpml.php index 9a46fc7..05f6ffc 100755 --- a/dokan-wpml.php +++ b/dokan-wpml.php @@ -345,7 +345,7 @@ public function dokan_set_current_page_id( $page_id ) { */ public function get_raw_option( $option, $section, $default = '' ) { if ( ! class_exists( 'WPML_Multilingual_Options_Utils' ) ) { - return $default; + return dokan_get_option( $option, $section, $default ); } global $wpdb;