---
title: Filter ProfilePage schema output
url: "https://www.seopress.org/support/hooks/filter-profilepage-schema-output/"
lang: en-US
updated: 2026-10-21
hook_name: seopress_schemas_profile_page_html
required_version: 9.5
---

# Filter ProfilePage schema output

- **Hook name:** `seopress_schemas_profile_page_html`
- **Required version:** 9.5

```php
<?php
function sp_profile_page_schema_html( $json ) {
	// $json is the encoded JSON-LD (no <script> tag).
	return $json;
}
add_filter( 'seopress_schemas_profile_page_html', 'sp_profile_page_schema_html' );
```

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



