Accept User Ratings from Users

  • In some following Schema types: Local business, Product, Recipe, Software Application,… I think RankMath need accept user rating instead of editor’s rating. Maybe we can use a shortcode or some options to show it in the post, page,…

    • This topic was modified 1 week, 1 day ago by  Dat Tran.
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    This is an interesting feature and I would be happy to pass this on to our developers so that it can be considered for future development.
    At the moment, you can also override the rating value displayed on the schema by hooking into the following developer filter on your theme’s functions.php file:

     * Filter to Short-circuit Schema if a 3rd party is interested in generating their own data.
     * Replace $schmea_type with schema name like article, review, etc.
     * @param array $entity Snippet Data
     * @return array
    add_filter( "rank_math/snippet/rich_snippet_{$schema_type}", function( $entity ) {
    	return $entity;

    I hope this info helps. Thank you.


Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.