wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_robots › Filtr WordPress Hooks

Od5.7.0
Przestarzałyn/a
apply_filters( 'wp_robots', array()
Parametry:
  • (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.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the directives to be included in the 'robots' meta tag.

The meta tag will only be included as necessary.





Źródło

$robots = apply_filters( 'wp_robots', array() );