• mgatc

    (@mgatc)


    I just experienced a situation where I inadvertently deleted the content of my client’s episode post (as podcast CPT) by pressing Apply on the edit page with stale data. I frantically tried to find the revisions but couldn’t. After some digging, I see that revisions must be explicitly enabled when registering the custom post type, but SSP doesn’t enable revisions. Is there a reason to not support revisions for the podcast CPT?

Viewing 1 replies (of 1 total)
  • Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi @mgatc,

    Thank you for the question. We’ll consider supporting revisions in the future plugin versions. Meanwhile, you can enable them with the following code snippet:

    add_filter( 'ssp_register_post_type_args', function ( $args ) {
    	$args['supports'][] = 'revisions';
    
    	return $args;
    } );
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Type Revisions’ is closed to new replies.