WordPress at a glance
filter is not described

flush_rewrite_rules_hard filter-hook . WP 3.7.0

Filters whether a "hard" rewrite rule flush should be performed when requested.

A "hard" flush updates .htaccess (Apache) or web.config (IIS).


add_filter( 'flush_rewrite_rules_hard', 'filter_function_name_8711' );
function filter_function_name_8711( $hard ){
	// filter...

	return $hard;
Whether to flush rewrite rules "hard".
Default: true

Where the hook is called

wp-includes/class-wp-rewrite.php 1816
if ( ! $hard || ! apply_filters( 'flush_rewrite_rules_hard', true ) ) {

Where the hook is used (in WP core)

Использование не найдено.