flush_rewrite_rules_hard

flush_rewrite_rules_hard

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('flush_rewrite_rules_hard') is found 1 times:

  • /wp-includes/class-wp-rewrite.php line 1899
    		 * @since 3.7.0
    		 *
    		 * @param bool $hard Whether to flush rewrite rules "hard". Default true.
    		 */
    		if ( ! $hard || ! apply_filters( 'flush_rewrite_rules_hard', true ) ) {
    			return;
    		}
    		if ( function_exists( 'save_mod_rewrite_rules' ) ) {
    			save_mod_rewrite_rules();
    		}
    		if ( function_exists( 'iis7_save_url_rewrite_rules' ) ) {