apply_filters( 'robots_txt', string $output, bool $public )

Filters the robots.txt output.


Parameters

$output

(string) Robots.txt output.

$public

(bool) Whether the site is considered "public".


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.0.0 Introduced.