do_robotstxt action-hookWP 2.1.0

Fires when displaying the robots.txt file.

Usage

add_action( 'do_robotstxt', 'wp_kama_do_robotstxt_action' );

/**
 * Function for `do_robotstxt` action-hook.
 * 
 * @return void
 */
function wp_kama_do_robotstxt_action(){

	// action...
}

Changelog

Since 2.1.0 Introduced.

Where the hook is called

do_robots()
do_robotstxt
wp-includes/functions.php 1699
do_action( 'do_robotstxt' );

Where the hook is used in WordPress

Usage not found.