apply_filters( 'got_rewrite', bool $got_rewrite )

Filters whether Apache and mod_rewrite are present.


Description Description

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.

See also See also


Top ↑

Parameters Parameters

$got_rewrite

(bool) Whether Apache and mod_rewrite are present.



Top ↑

Source Source

File: wp-admin/includes/misc.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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