W3cubDocs

/WordPress

apply_filters( ‘got_url_rewrite’, bool $got_url_rewrite )

Filters whether URL rewriting is available.

Parameters

$got_url_rewritebool
Whether URL rewriting is available.

Source

return apply_filters( 'got_url_rewrite', $got_url_rewrite );

Changelog

Version Description
3.7.0 Introduced.

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