Update hooks.php

Update epl_flush_rewrite_rules function