iis7_supports_permalinks filter-hookWP 2.8.0

Filters whether IIS 7+ supports pretty permalinks.

Usage

add_filter( 'iis7_supports_permalinks', 'wp_kama_iis7_supports_permalinks_filter' );

/**
 * Function for `iis7_supports_permalinks` filter-hook.
 * 
 * @param bool $supports_permalinks Whether IIS7 supports permalinks.
 *
 * @return bool
 */
function wp_kama_iis7_supports_permalinks_filter( $supports_permalinks ){

	// filter...
	return $supports_permalinks;
}
$supports_permalinks(true|false)
Whether IIS7 supports permalinks.
Default: false

Changelog

Since 2.8.0 Introduced.

Where the hook is called

iis7_supports_permalinks()
iis7_supports_permalinks
wp-includes/functions.php 5938
return apply_filters( 'iis7_supports_permalinks', $supports_permalinks );

Where the hook is used in WordPress

Usage not found.