---
title: Filtrar los argumentos de alerta de robots.txt
url: "https://www.seopress.org/es/soporte/hooks/filtrar-argumentos-alerta-robots-txt/"
lang: es
updated: 2025-01-20
hook_name: seopress_seo_alerts_robots_args
required_version: 8.5
---

# Filtrar los argumentos de alerta de robots.txt

- **Hook name:** `seopress_seo_alerts_robots_args`
- **Required version:** 8.5

```php
add_filter('seopress_seo_alerts_robots_args', 'sp_seo_alerts_robots_args');
function sp_seo_alerts_robots_args($args) {
	// default args
	$args = [
		'blocking' => true,
		'timeout' => 10,
		'redirection' => 1,
	];
	return $args;
}
```

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



