got_rewrite

Advertisement

Summery Summery

Filters whether Apache and mod_rewrite are present.

Syntax Syntax

apply_filters( 'got_rewrite', bool $got_rewrite )

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.

Parameters Parameters

$got_rewrite

(bool) Whether Apache and mod_rewrite are present.

Source Source

File: wp-admin/includes/misc.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.