Hi,
“Simple Revisions Delete” exclusively uses native WordPress core functions to safely delete revisions. It does not use any custom SQL query you’ll may find in some other available plugins in the repo. In my mind, using CORE functions is always the good way to go, even if it may be more “hard” to build or make a function more heavy.
In any case, I suggest you to backup you database, then to try it!
Cheers
Hi there,
After installing, I can see the “purge revisions” in the bulk drop down only for regular posts and pages, not for custom post types. Same thing with the option in individual posts, it’s not there for custom posts…
Granted this is an unusual case… it worked great for the regular posts! Thanks!
Hi,
As explained in the plugin description tab the default supported post types are post and page, but you can easily add custom post types or remove default post types with the following hook:
function bweb_wpsrd_add_post_types( $postTypes ){
$postTypes[] = 'additional-cpt';
$postTypes[] = 'another-cpt';
return $postTypes;
}
add_filter( 'wpsrd_post_types_list', 'bweb_wpsrd_add_post_types' );
Cheers
Even after adding this code to functions, it does not seem to work for me either. Please advise, thanks.
Did you edit additional-cpt and another-cpt by your own CPT’s slugs ?
If it won’t works after this, please create your own support thread.
Regards
Where do we put this code?
@dlynch027 you have to paste this code in your theme functions.php file.
Best,