Filter hook 'robots_txt'

in WP Core File wp-includes/functions.php at line 1727

Description

Filters the robots.txt output.

Occurrences

Filename Line Number
wp-includes/functions.php 1727

Parameters

Type Name Description
string $output The robots.txt output.
bool $public Whether the site is considered "public".

PHP Doc

/**
	 * Filters the robots.txt output.
	 *
	 * @since 3.0.0
	 *
	 * @param string $output The robots.txt output.
	 * @param bool   $public Whether the site is considered "public".
	 */