src/Query/Tag/Order.php
protected function get_value() {
		if ( $this->is_rand ) {
			return self::RAND;
		}

		$query = '';

		foreach ( $this->orders as $column => $direction ) {
			$query .= "$column";

			if ( $direction !== null ) {
				$query .= " $direction";
			}

			$query .= ', ';
		}

		$query = substr( $query, 0, - 2 );

		return $query;
	}
protected function get_value() {
		if ( $this->is_rand ) {
			return self::RAND;
		}

		$query = '';

		foreach ( $this->orders as $column => $direction ) {
			$query .= "$column";

			if ( $direction !== null ) {
				$query .= " $direction";
			}

			$query .= ', ';
		}

		$query = substr( $query, 0, - 2 );

		return $query;
	}
Override the get value method.

@since 1.0

@return string