read_admin_texts_recursive( $key['key'], $admin_text_context, $type, $arr_context, $arr_type ); } else { $arr[ $key_name ] = 1; $arr_context[ $key_name ] = $admin_text_context; $arr_type[ $key_name ] = $type; } } return isset( $arr ) ? $arr : false; } /** * @param string $key Name of option to retrieve. Expected to not be SQL-escaped. * @param mixed $default Value to return in case the string does not exists * * @return mixed Value set for the option. */ public function get_option_without_filtering( $key, $default = false ) { global $wpdb; $value = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM {$wpdb->options} WHERE option_name = %s LIMIT 1", $key ) ); return isset( $value ) ? $value : $default; } }