equal
deleted
inserted
replaced
26 if ( ! function_exists( 'get_option_tree' ) ) { |
26 if ( ! function_exists( 'get_option_tree' ) ) { |
27 |
27 |
28 function get_option_tree( $item_id = '', $options = '', $echo = false, $is_array = false, $offset = -1 ) { |
28 function get_option_tree( $item_id = '', $options = '', $echo = false, $is_array = false, $offset = -1 ) { |
29 /* load saved options */ |
29 /* load saved options */ |
30 if ( ! $options ) |
30 if ( ! $options ) |
31 $options = get_option( 'option_tree' ); |
31 $options = get_option( ot_options_id() ); |
32 |
32 |
33 /* no value return */ |
33 /* no value return */ |
34 if ( ! isset( $options[$item_id] ) || empty( $options[$item_id] ) ) |
34 if ( ! isset( $options[$item_id] ) || empty( $options[$item_id] ) ) |
35 return; |
35 return; |
36 |
36 |