---
title: Filtrer le schéma manuel service
url: "https://www.seopress.org/fr/support/hooks/filtrer-le-schema-manuel-service/"
lang: fr-FR
updated: 2023-07-20
hook_name: seopress_pro_get_json_data_service
required_version: 4.6
---

# Filtrer le schéma manuel service

- **Hook name:** `seopress_pro_get_json_data_service`
- **Required version:** 4.6

```php
function sp_pro_get_json_data_service($jsonld, $context) {
	//$jsonld returns the schema as an array
	//$context returns the context as an array, use this to apply conditions
	
	//do your stuff
	
	return $jsonld;
}
add_filter('seopress_pro_get_json_data_service','sp_pro_get_json_data_service', 10, 2);
```

Source: [https://gist.github.com/wp-seopress/75966b12dffa142d2a516bbd69a899f8](https://gist.github.com/wp-seopress/75966b12dffa142d2a516bbd69a899f8)



