-
I see the response to many tickets that it’s possible to modify schema data. Can you provide an example of this?
I see you reference this code snippet:
/** * 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);
But need an example of say appending some sort of data that includes a custom field from a post of page type?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The ticket ‘can you provide example of modifying scheme’ is closed to new replies.