You can use define ('WP_POST_REVISIONS', 2); in wp-config.php for two revisions, and you could turn that into your own plugin.
Manully remove all revisions with this query run in phpmyadmin:
DELETE a,b,c FROM wp_posts a LEFT JOIN wp_term_relationships b ON
(a.ID = b.object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)
WHERE a.post_type=”revision”
and then optimize.
Related Posts:
- A Blog’s changelog
- New Plugin: Post update pushes a copy as a revision
- Show history of post revisions on front end
- Revision featured image
- how long do restored versions take to go live?
- WordPress doesn’t save a post revision when changing CMB2 custom fields
- Get Product id from order id in Woocommerce [closed]
- How to add a shortcode button to the TinyMCE editor?
- Is there a plugin that provides a stackoverflow style editor for wordpress? [closed]
- Modifying a JS file with data from plugin settings
- Plugin upgrading: Widget settings
- Multi domain, multi sites with different themes and content
- Understanding apply_filters
- Editor not displaying dynamically after clicking on the button
- $current_user var returns NULL
- Quote rotator in the sidebar
- Very stubborn wp_register_script / add_action vs remove
- How to submit documentation with plugin
- Placement of Code in Plugin for hooking `save_post`
- Use plugin multiple times
- Create template “author” with a plugin
- Why is the generated POT file from WordPress.org not adding my plugin description to the POT file?
- Cron jobs not working in WordPress plugin in a VPS with VestCP control panel
- Where does WordPress store plugin (enabled/disabled) status for multisite?
- Bouncing scroll
- Executing my function once on a specific time
- Override Javascript in a Plugin?
- Preview featured image using frontend post plugin
- Globally register styles but enqueue them selectively
- Creating a plugin to sanitize comment and the url field before display only
- Creating mySQL procedure with $wpdb
- Does using WP-cron make the site slower for the user?
- Ultimate Member [closed]
- add custom filters to the event calendar plugin programatically to frontend [closed]
- uninstall.php does not appear to trigger when uninstalling my plugin
- Editable form for WordPress plugin options page
- Auto move media file to cloud
- Best place to load wp_ajax_the_ajax_hook action in plugin
- remove add new post, if there is already one post
- Login cookies set as wrong domain
- Create shortcode to echo javascript
- Warning: Use of undefined constant list_all – assumed ‘list_all’ (this will throw an Error in a future version of PHP)
- Events Manager plugin – booking form required fields
- How to enable customer login to customer specific admin page
- Need to replace Currency Shortforms
- How to create plugin in wordpress [closed]
- How to use custom Javascript code inside a plugin?
- How to use printf to output two links?
- 2 wordpress site same database
- Executing Javascript in Plugin
- Retrieve options set through a plugin
- How to Include Custom Post Content From Plugin
- How to display results from a data table with an encrypted user id?
- What causes wp_schedule_single_event to fire off?
- Managing media by folder
- Activation flow of a plugin in a multisite environment
- Checkbox show / hide output result
- login form should redirect to register page for in 1st login next time it should redirected to home page
- CSS error in Simple CSS plugin [duplicate]
- How can I create a secure file download in WordPress?
- how to convert frontpage.php to dynamic page?
- Using Filters to modify contect – DB query results alwats appear fist
- Site navigation from Google not using HTTPS for some resources, causing redirect loop
- Object of class WP_Error could not be converted to string in /formatting.php
- multiple image upload using wp_enqueue_media
- Ajax call to php function doesn’t work PHP code
- On save_post need to wp_insert_post and save partent post id to child post and child post id to parent post
- Overwrite a file with the content of a textarea
- Website painfully slow after migration to VPS2
- How to access classes in theme of a plugin?
- Cookie set in a plugin visible in admin but not on front
- Edit plugin filter
- can’t use span or icon tags on when editing visual composer element
- Team member plugin problem after changing to another hosting
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- AJAX login without a plugin does not work. when add a action to function.php
- How do i get all author posts on custom post type list
- Programmatically retrieve the sidebar/s classes
- Serialize $_POST global in wordpress
- Plugins not activated after update?
- Displaying image from a repeatable group
- AJAX doesn’t pass variables to the php function in the plugin
- Submit form stored in one plugin from another plugin?
- WooCommerce – how to display product category above product with full details
- Overwrite CSS of Instaemail plugin popup
- How to add character to content of post?
- Trending Topics Plugin
- Building custom pages with a video player
- Trouble After Update, Removing Plugin
- Move related products after product summary? [closed]
- Get ID of a NextGen album that is linked to a subpage [closed]
- Trying to insert a row from a Plugin
- Use a WordPress Plugin in non-WordPress .php page [closed]
- Cannot modify header information – headers already sent by
- How can I get information on who is downloading my plugin? (new to this)
- Browser Cache causes ‘Orderby=rand’ to return the same posts
- How to have certain products show for only certain users (Not roles)
- Why is my drop down empty
- Content being rendered as empty string in posts endpoint
- WordPress Global Var in Plugin but Outside Function