WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_robots

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/robots-template.php apply_filters 32 /**
* Filters the directives to be included in the 'robots' meta tag.
*
* The meta tag will only be included as necessary.
*
* @since 5.7.0
*
* @param array $robots Associative array of directives. Every key must be the name of the directive, and the
* corresponding value must either be a string to provide as value for the directive or a
* boolean `true` if it is a boolean directive, i.e. without a value.
*/

Hook Parameters

Parameter Type Name Description
array $robots Associative array of directives. Every key must be the name of the directive, and the