Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



got_rewrite ›

Seit2.5.0
Veraltetn/v
apply_filters( 'got_rewrite', $got_rewrite )
Parameter:
  • (bool) $got_rewrite Whether Apache and mod_rewrite are present.
    Erforderlich: Ja
Siehe:
  • got_url_rewrite()
Definiert in:
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.





Quellcode

return apply_filters( 'got_rewrite', $got_rewrite );