wphooks.info - got_url_rewrite

got_url_rewrite

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/includes/misc.php:
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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 );
}

/**
 * Extracts strings from between the BEGIN and END markers in the .htaccess file.
 *
 * @since 1.5.0
 *
 * @param string $filename
 * @param string $marker