initaction using the
flush_rewrite_rules, but this is a mistake. It can lead to unexpected behaviours, and has a large negative performance impact. Rewrite rules are expensive to build.
nav_menu_itemposts, however, the menu itself is a term in a custom taxonomy that contains
revision, revisions are historical copies of posts, and are tied to their original post via the post_parent field. To get a posts revisions, grab all its children of type
revision. If a database is growing very large or a particular post/page is frequently/automatically edited, you can limit the number of revisions stored.
attachment, and are referred to by their post ID. For example, when you set a featured image on a post, it stores your chosen image's post ID in that post's meta (
post_parentfield is set to that of the post.