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
Return Return
(string)
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 ); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |