Support » Plugin: Simple Feature Requests Free » Default to no comments

Viewing 1 replies (of 1 total)
  • Plugin Author James Kemp

    (@jamesckemp)

    Hey, you could try adding this code to your child theme’s functions.php file:

    
    add_action( 'init', 'jck_sfr_remove_comments' );
    
    function jck_sfr_remove_comments() {
        remove_post_type_support( 'cpt_feature_requests', 'comments' );
    }
    
    • This reply was modified 9 months, 1 week ago by James Kemp.
Viewing 1 replies (of 1 total)
  • The topic ‘Default to no comments’ is closed to new replies.