WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about got_rewrite

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/misc.php apply_filters 31 /**
* Filters whether Apache and mod_rewrite are present.
*
* This filter was previously used to force URL rewriting for other servers,
* like nginx. Use the {@see 'got_url_rewrite'} filter in got_url_rewrite() instead.
*
* @since 2.5.0
*
* @see got_url_rewrite()
*
* @param bool $got_rewrite Whether Apache and mod_rewrite are present.
*/

Hook Parameters

Parameter Type Name Description
bool $got_rewrite Whether Apache and mod_rewrite are present.