In wp-config.php you’re able to change how WordPress deals with post revisions. Specifically you’re able to turn them off or specify a max number of revisions. I’d like to...
Storing metadata for custom post types is easy, you just need to add an action for ‘save_post’ with your method that handles this. In which you have then something...
Let’s say I want to add some post_meta into the “new” revisions UI. I’m saving some meta on revisions only, and want to display it on this screen. Normally,...
Normally wordpress keeps revision of wp_post table. But for generating a report I need some custom fields to be tracked while any update happens. As custom fields are saved...
I haven’t set a limit to the number of revisions, which makes some of my post have more than 20 revisions, so how to delete these revisions? By the...
Is there a hook/function combination that can be added to my theme’s functions.php to properly disable REVISIONS and AUTOSAVE for the entire wordpress installation? What about if just for...
One of my clients is on a rather large blog in terms of number of posts and traffic. I’m trying to get her database down to a manageable size,...
I have created a custom Post Type, and Registered it. Can someone help me how to enable revisions to Custom Post type? 1 When you register your CPT, you...