Skip to content

Commit

Permalink
refactor: get_raw_option method
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 committed Nov 21, 2019
1 parent 4a13a76 commit 9e7e8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dokan-wpml.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9e7e8a5

Please sign in to comment.