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.


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

	return $got_rewrite;
Whether Apache and mod_rewrite are present.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.