Uma área de pesquisa sobre o WordPress para devs e autores do tema



got_rewrite ›

Desde2.5.0
Obsoleton/a
apply_filters( 'got_rewrite', $got_rewrite )
Parâmetros:
  • (bool) $got_rewrite Whether Apache and mod_rewrite are present.
    Required: Yes
Ver:
  • got_url_rewrite()
Definido em:
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.





Fonte

return apply_filters( 'got_rewrite', $got_rewrite );