---
title: Filter Organization schema output
url: "https://www.seopress.org/support/hooks/filter-organization-schema-output/"
lang: en-US
updated: 2026-10-20
hook_name: seopress_schemas_organization_html
required_version: 4.2
---

# Filter Organization schema output

- **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)


Unlike the `website` schema filter, this one receives the JSON string, not the script element. An empty value prints nothing.
