-
Hi there, i was using this custom code for softwareapplication schema
//SoftwareApplication//add_filter( 'rank_math/snippet/rich_snippet_softwareapplication_entity', function( $entity ) {
$entity['aggregateRating'] = [
'@type' => 'AggregateRating',
'ratingValue' => rmp_get_avg_rating(),
'bestRating' => ‘5’,
'worstRating' => ‘1’,
'ratingCount' => rmp_get_vote_count(),
];
return $entity;
}It is not working anymore, it generates a critical error in the site now.
Can you please help me with that?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The ticket ‘SoftwareApplication custom code’ is closed to new replies.