Review_Single::get_data()

Summary

No summary available.

Source

File: src/BigCommerce/Templates/Review_Single.php

	public function get_data() {
		$data = $this->options;

		$data[ self::DATE ]      = get_date_from_gmt( $this->options[ self::DATE ] );
		$data[ self::TIMESTAMP ] = strtotime( $data[ self::DATE ] );
		$data[ self::CONTENT ]   = $this->format_content( $this->options[ self::CONTENT ] );
		$data[ self::PERCENTAGE ] = $this->options[ self::RATING ] * 20;

		return $data;
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.