Warning: This method has been deprecated.

WC_Abstract_Legacy_Product::get_rating_html( string $rating = null )

Returns the product rating in html format.


Description Description


Parameters Parameters

$rating

(Optional) (default: '')

Default value: null


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/legacy/abstract-wc-legacy-product.php

	public function get_rating_html( $rating = null ) {
		wc_deprecated_function( 'WC_Product::get_rating_html', '3.0', 'wc_get_rating_html' );
		return wc_get_rating_html( $rating );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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