Update hooks.php

Updated epl_flush_rewrite_rules function.