You’ll need to edit wp-config.php
.
To set posts to retain a set number of revisions:
define('WP_POST_REVISIONS', 3);
To disable post revisions completely:
define('WP_POST_REVISIONS', false );
Related Posts:
- Is there a action hook for the “Empty Trash” button?
- Where does WordPress store the users customization in the theme
- Add a checkbox to post screen that adds a class to the title
- delete post also attachments
- Attach pdf file to custom post type
- How do I create a featured post within a custom post type?
- Static posts page with home.php
- Delete Post Link to delete post, its meta and attachments
- Navigation link to specific user page
- How to edit wordpress RSS feed to show post title only
- Add custom field to category of custom post type
- What Can I Use To Add A Custom Button Between Publish button and Move To Trash?
- Add custom fields to post programmatically
- user contributed content as custom post types
- Remove custom posts that match taxonomy value
- Custom Theme Want To Remove One Category From All Displays
- Is it possible to have two different previews of a post (ie. two templates for one post)?
- Filter Posts By Tag
- How to show featured image in custom post type dashboard post page
- Posts vs. Pages
- How to add pagination in between post and comments?
- Set terms in a custom post
- I want to display custom text widgets for each post in the sidebar?
- Display posts styled exactly like default posts
- Print all the tags from a custom post type Please
- Display multiple custom taxonomy values on single custom post types page?
- Move first half of posts to one parent page, second half to the other page
- Custom loop pagination links not working
- Enable Comments Box On Custom Post Type
- wp-cli post create & media import issues
- How can i limit the number of posts created per category?
- Responsive images with custom image size
- Take a received feedback item, turn it into a post
- Getting value from get_post_custom
- Admin – create custom post status and display above table
- Set Default Category to Username
- show custom post type category dropdown sorting result on same page
- How do I insert a post with custom post type and relate it to a custom taxonomy?
- Dynamically switch template on click
- “about us”, ” contact” sections should be article(post) or page in the simple small Business website?
- Customize rel=canonical tag for single blog post
- disable Tab post on nav-menus page (Admin)
- Tell WP to use a specific template file in posts
- Best Way to Add UnEditable HTML to Posts
- How safe is it to delete old posts edits to save database space?
- Is codex right on deleting post?
- if in category but only with post meta
- How to get different Related Posts
- Custom home page with full post for first one only
- l accidentally permanently deleted a Draft. There’s any way I can recover it?
- Inserting an example of the last 3 post on to the homepage
- Get a term each custom post type
- Getting post and attached image from subdomain
- Custom post type slideshow background images to insert in a plugin
- Trying to exclude custom posts based on date, while sorting by custom field
- Help on conditional statement to accompany wp_insert_post function please?
- Alt text attributes not showing over portfolio images
- Search results for ACF data
- Redirect to custom post if custom archive page has just one result?
- Added a ACF field to custom page and want the results to show as a column in admin
- Template for displaying CPT / Taxonomy URL issues
- Multiple posts in one page
- delete post hook not being fired when deling in wordpress dashboard admin
- WordPress Delete Users from backend doesn’t work
- Is it possible to make a custom post that adds multiple pages?
- Loop through taxonomies and loop through their terms (Newbie question)
- Hiding title of selected post without plugins
- Custom post styling per category?
- Custom post type – Loop out in random order but same 15 to appear first… still random
- Custom post type template not called
- How to use Categories of custom post type
- Static text above category page
- Hook To Get All Posts Deleted
- Meta boxes not saving
- Custom Select Query pagination not working properly
- Custom URL Structure for posts with subcategories
- Help with a function that will place a map pin for all posts
- How to show the posts list into a static page? Problems to use the loop into a static page
- Get new post meta data when (custom) post is saved
- How do I control the fallback query after the original query returned cero posts?
- Adding The Post Template Dropdown to WP-Admin
- wordpress paginate, link to the right page
- Allow users to create their own page/s
- 404 for some custom taxonomy not ALL taxonomy
- Given two custom post types: Automatically add meta fields from one custom post type to another
- Display metabox with date
- How can i retrive the movies, trailers, news in a single page using search
- Add default content to post (for specific category)
- get post custom value
- WordPress strips some attributes for author posts
- Automatically delete default posts and pages on theme install?
- How to Do Custom Fields to Output a Definition List
- Display one post randomly from category on home page
- Deleting first four characters from all Post Titles
- Deleling wordpress posts permanently still have IDs
- Taxonomy Category category.php not working
- Post’s arent displaying
- Can I get custom post items in select box (dropdown)
- How to have 2 posting pages on a blog
- Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields