WordPress at a glance
filter is not described

got_rewrite filter-hook . WP 2.5.0

Filters whether Apache and mod_rewrite are present.

This filter was previously used to force URL rewriting for other servers, like nginx. Use the 'got_url_rewrite' filter in got_url_rewrite() instead.

Usage

add_filter( 'got_rewrite', 'filter_function_name_9955' );
function filter_function_name_9955( $got_rewrite ){
	// filter...

	return $got_rewrite;
}
$got_rewrite(true/false)
Whether Apache and mod_rewrite are present.

Where the hook is called

got_mod_rewrite()
wp-admin/includes/misc.php 31
return apply_filters( 'got_rewrite', $got_rewrite );

Where the hook is used (in WP core)

Does not used.