---
title: Filter automatic custom schema
url: "https://www.seopress.org/support/hooks/filter-automatic-custom-schema/"
lang: en-US
updated: 2021-09-29
hook_name: seopress_schemas_auto_custom_html
required_version: 3.6.2
---

# Filter automatic custom schema

- **Hook name:** `seopress_schemas_auto_custom_html`
- **Required version:** 3.6.2

```php
function sp_schemas_auto_custom_html($jsonld) {
	$jsonld = '<script type="application/ld+json">Full documentation here: https://schema.org/</script>';
	return $jsonld;
}
add_filter('seopress_schemas_auto_custom_html','sp_schemas_auto_custom_html');
```

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



