rewrite_rules

rewrite_rules

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('rewrite_rules') is found 1 times:

  • /wp-includes/class-wp-rewrite.php line 1563
    		 * @deprecated 1.5.0 Use the mod_rewrite_rules filter instead.
    		 *
    		 * @param string $rules mod_rewrite Rewrite rules formatted for .htaccess.
    		 */
    		return apply_filters( 'rewrite_rules', $rules );
    	}
    
    	/**
    	 * Retrieves IIS7 URL Rewrite formatted rewrite rules to write to web.config file.
    	 *
    	 * Does not actually write to the web.config file, but creates the rules for