wpseek.com
A WordPress-centric search engine for devs and theme authors



got_rewrite › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( 'got_rewrite', $got_rewrite )
Parameters:
  • (bool) $got_rewrite Whether Apache and mod_rewrite are present.
    Required: Yes
Defined at:
Codex:

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.





Source

return apply_filters( 'got_rewrite', $got_rewrite );