flush_rewrite_rules_hard

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'flush_rewrite_rules_hard', bool $hard )

Description Description

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

Parameters Parameters

$hard

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

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?