apply_filters( 'robots_txt', string $output , bool $public )
Filters the robots.txt output.
Parameters
- $output
-
(string) The robots.txt output.
- $public
-
(bool) Whether the site is considered "public".
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
An example of how robots.txt file content can be altered.
Expand full source codeCollapse full source code