Flush Rewrite Rules

You can programmatically recreate the sites rewrite rules with the flush() method. This is an expensive operation and should be used with caution, see codex for more.

$books->flush();