apply_filters( 'got_url_rewrite', bool $got_url_rewrite )

Filters whether URL rewriting is available.

Parameters

$got_url_rewrite

(bool) Whether URL rewriting is available.

Source

File: wp-admin/includes/misc.php

View on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/got_url_rewrite