php - Limit Wordpress revisions of Pages and CPT without plugin -
i creating question both answer myself, others might find same issue, cannot find single article online.
i have been using below code, within wp-config.php file time now, have noticed doesn't work universally - works 'posts'. enable same setting both pages , custom post types.
does have information regarding this?
/** limit post revisions prevent db bloat */ define( 'wp_post_revisions', 5 );
in installations works universally. discussion confirms experience: http://pods.io/forums/topic/revisions-support/
Comments
Post a Comment