got_url_rewrite()
最后更新于:2021-11-27 04:22:18
got_url_rewrite()响应s whether the server supports URL rewriting.
响应
(bool) Whether the server supports URL rewriting.
源文件
文件: gc-admin/includes/misc.php
function got_url_rewrite() {
$got_url_rewrite = ( got_mod_rewrite() || $GLOBALS['is_nginx'] || iis7_supports_permalinks() );
/**
* Filters whether URL rewriting is available.
*
* @since 3.7.0
*
* @param bool $got_url_rewrite Whether URL rewriting is available.
*/
return apply_filters( 'got_url_rewrite', $got_url_rewrite );
}