---
title: Filter automatic software application schema
url: "https://www.seopress.org/support/hooks/filter-automatic-software-application-schema/"
lang: en-US
updated: 2021-09-29
hook_name: seopress_schemas_auto_softwareapp_json, seopress_schemas_auto_softwareapp_html
required_version: 4.7, 3.7.9
---

# Filter automatic software application schema

- **Hook name:** `seopress_schemas_auto_softwareapp_json, seopress_schemas_auto_softwareapp_html`
- **Required version:** 4.7, 3.7.9

```php
add_filter('seopress_schemas_auto_softwareapp_json', 'sp_schemas_auto_softwareapp_json');
function sp_schemas_auto_softwareapp_json($json) {
	//returns schema as an array with 'property' => 'value'
	return $json;
}

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

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



