---
title: Filtrar esquema automático de preguntas frecuentes
url: "https://www.seopress.org/es/soporte/hooks/filtrar-esquema-automatico-de-preguntas-frecuentes/"
lang: es
updated: 2021-09-29
hook_name: seopress_schemas_auto_faq_json, seopress_schemas_auto_faq_html
required_version: 4.7, 3.6.2
---

# Filtrar esquema automático de preguntas frecuentes

- **Hook name:** `seopress_schemas_auto_faq_json, seopress_schemas_auto_faq_html`
- **Required version:** 4.7, 3.6.2

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

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

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



