---
title: Filter Organization schema
url: "https://www.seopress.org/support/hooks/filter-organization-schema/"
lang: en-US
updated: 2023-07-20
hook_name: seopress_get_json_data_organization
required_version: 4.6
---

# Filter Organization schema

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

```php
function sp_get_json_data_organization($jsonld) {
	//$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_get_json_data_organization','sp_get_json_data_organization', 10);
```

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



