---
title: Filtrer la sortie du schéma Organization
url: "https://www.seopress.org/fr/support/hooks/filtrer-la-sortie-du-schema-organization/"
lang: fr-FR
updated: 2026-10-20
hook_name: seopress_schemas_organization_html
required_version: 4.2
---

# Filtrer la sortie du schéma Organization

- **Hook name:** `seopress_schemas_organization_html`
- **Required version:** 4.2

```php
<?php
function sp_organization_schema_html( $json ) {
	// $json is the encoded JSON-LD (no <script> tag).
	// Return an empty string to remove the Organization schema.
	return $json;
}
add_filter( 'seopress_schemas_organization_html', 'sp_organization_schema_html' );
```

Source: [https://gist.github.com/wp-seopress/73d7083ddaf244dfbea6f2fd21a00bc7](https://gist.github.com/wp-seopress/73d7083ddaf244dfbea6f2fd21a00bc7)


Contrairement au filtre du schéma `website`, celui-ci reçoit la chaîne JSON et non l’élément script. Une valeur vide n’affiche rien.
