apply_filters( 'flush_rewrite_rules_hard', bool $hard )

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


Description Description

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


Parameters Parameters

$hard

(bool) Whether to flush rewrite rules "hard". Default true.


Top ↑

Source Source

File: wp-includes/class-wp-rewrite.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.