iis7_supports_permalinks
Filter HookDescription
Filters whether IIS 7+ supports pretty permalinks.Hook Information
File Location |
wp-includes/functions.php
View on GitHub
|
Hook Type | Filter |
Line Number | 6215 |
Hook Parameters
Type | Name | Description |
---|---|---|
bool
|
$supports_permalinks
|
Whether IIS7 supports permalinks. Default false. |
Usage Examples
Basic Usage
<?php
// Hook into iis7_supports_permalinks
add_filter('iis7_supports_permalinks', 'my_custom_filter', 10, 1);
function my_custom_filter($supports_permalinks) {
// Your custom filtering logic here
return $supports_permalinks;
}
Source Code Context
wp-includes/functions.php:6215
- How this hook is used in WordPress core
<?php
6210 *
6211 * @since 2.8.0
6212 *
6213 * @param bool $supports_permalinks Whether IIS7 supports permalinks. Default false.
6214 */
6215 return apply_filters( 'iis7_supports_permalinks', $supports_permalinks );
6216 }
6217
6218 /**
6219 * Validates a file name and path against an allowed set of rules.
6220 *
PHP Documentation
<?php
/**
* Filters whether IIS 7+ supports pretty permalinks.
*
* @since 2.8.0
*
* @param bool $supports_permalinks Whether IIS7 supports permalinks. Default false.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-includes/functions.php
Related Hooks
Related hooks will be displayed here in future updates.