includes/Utils.php
/**
     * Strip slashes from given string or each element of array
     *
     * @param array|string $data
     * @return string
     */
Strip slashes from given string or each element of array
@param array|string $data
@return string
Strip slashes from given string or each element of array @param array|string $data @return string
public static function stripSlashes($data) {
        if (is_array($data)) {
            foreach ($data as $key => $val) {
                $data[$key] = stripslashes($val);
            }
        } else {
            $data = stripslashes($data);
        }
        return $data;
    }
public static function stripSlashes ( $ data ) { if ( is_array ( $ data ) ) { foreach ( $ data as $ key => $ val ) { $ data [ $ key ] = stripslashes ( $ val ) ; } } else { $ data = stripslashes ( $ data ) ; } return $ data ; }
Strip slashes from given string or each element of array
 @param array|string $data
 @return string
Strip slashes from given string or each element of array @param array|string $data @return string