WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about flush_rewrite_rules_hard

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-rewrite.php apply_filters 1871 /**
* Filters whether a "hard" rewrite rule flush should be performed when requested.
*
* A "hard" flush updates .htaccess (Apache) or web.config (IIS).
*
* @since 3.7.0
*
* @param bool $hard Whether to flush rewrite rules "hard". Default true.
*/

Hook Parameters

Parameter Type Name Description
bool $hard Whether to flush rewrite rules "hard". Default true.