APP_Schema_Type_Review::type( array $type = array('comment'), string $rating_meta_key = '', string $name_meta_key = '' )
Generates the Review schema type json-ld code.
Package
Description Description
Parameters Parameters
- $type
(array) (Optional) The type of comment(s) we want to include.
Default value: array('comment')
- $rating_meta_key
(string) (Optional) The wp_commentmeta key which stores the rating value.
Default value: ''
- $name_meta_key
(string) (Optional) The wp_commentmeta key which stores the review name/subject/title value (Optional).
Default value: ''
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |