<?php
remove_action('admin_init', 'flush_rewrite_rules');
remove_action('init', 'flush_rewrite_rules');
?>