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

Filters the robots.txt output.

Description Description

Parameters Parameters


(string) The robots.txt output.


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

Top ↑

Source Source

File: wp-includes/functions.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.