Hello,
Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.
You can modify and use the following filter to add the areaServed property:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
if ( isset( $data['publisher'] ) ) {
$data['publisher']['areaServed']['@type'] = "city";
$data['publisher']['areaServed']['geoMidpoint'] = [
"@type" => 'GeoCordinates',
"latutude" => '40.42',
"longitude" => '23.23'
];
$data['publisher']['areaServed']['geoRadius'] = '550000';
}
return $data;
}, 99, 2 );
Hope this helps. Let us know if you need any other assistance.
Hello,
We are super happy that we could address your concern.
If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.