Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
To be able to extend the JSON-LD data, I would suggest that you hook into the following filter and extend the data:
/**
* Collect data to output in JSON-LD.
*
* @param array $unsigned An array of data to output in json-ld.
* @param JsonLD $unsigned JsonLD instance.
*/
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
return [];
}, 10, 2);
I hope this info helps. Thank you.
​​​​​​​
Thanks, but not work for me, It’s the same as adding it myself manually.
Hi Charly,
Thanks for the follow up.
I would be happy to pass this on to our developers so that the option to add the URLs from the UI can be added to our future development roadmap.
Let me know if you have additional questions. Thank you.