Title: Adding Review Graph Piece With API
Last modified: October 11, 2022

---

# Adding Review Graph Piece With API

 *  Resolved [Michael Benjamin Chapman](https://wordpress.org/support/users/michaelbenjaminchapman/)
 * (@michaelbenjaminchapman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/adding-review-graph-piece-with-api/)
 * In the Schema.org Pieces section of the developer documentation it lists a number
   of pieces that are not available as classes in `Yoast\WP\SEO\Generators\Schema`.
 * How do you add these pieces to the graph using the API? For a piece like a FAQ
   or a HowTo, they have classes provided. But there is no class for pieces like
   Product or Review.
 * I see that custom pieces can be defined, but why are these pieces listed in the
   documentation if they do not have matching classes?
 * I did see that they are available as blocks in the editor. Is this the primary
   way of using them? And does that mean I should recreate them as custom classes
   if I want to add them through the API?
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/adding-review-graph-piece-with-api/#post-16094061)
 * [@michaelbenjaminchapman](https://wordpress.org/support/users/michaelbenjaminchapman/)
   We’re sorry, but unfortunately we can’t offer support on custom code. Since we
   don’t want to take the risk that we break your website by suggesting incorrect
   or incomplete code, we cannot advise you on this or how to make changes to it.
 * Yoast SEO includes filters that allow you or your developer to customize many
   of our plugin features. These filters are documented inside the plugin code. 
   We also have a [developer portal](https://developer.yoast.com/) where you can
   find more information about filters and even check out some examples of how to
   use them.
 * Unfortunately, there’s a difference between the support we can offer and the 
   level of programming needed to change (core) features of our plugin. Since we
   don’t want to take the risk that we break your website by suggesting incorrect
   or incomplete code, we cannot advise you on how to make such changes. And even
   though we cannot be of any assistance, you’re completely free to change anything
   in the plugin to better suit your needs.
 * Maybe someone watching these forums can assist you further, but if your topic
   is inactive for 7 days, we’ll mark it as resolved to keep the overview.
 * Thank you for your understanding.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/adding-review-graph-piece-with-api/#post-16106366)
 * This thread was marked resolved due to a lack of activity, but you’re always 
   welcome to re-open the topic. Please read [this post](https://wordpress.org/support/topic/read-this-before-your-post/)
   before [opening a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding Review Graph Piece With API’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 2 replies
 * 3 participants
 * Last reply from: [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/adding-review-graph-piece-with-api/#post-16106366)
 * Status: resolved