Support » Plugin: Simple Feature Requests Free » Default Status

  • Resolved motlive

    (@motlive)


    Hi,

    Is there a way to set the default status for all new feature requests to “Published”?

    Thanks

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

    (@jamesckemp)

    Hey,

    Yes, there’s a filter for it. Add the following to your theme’s functions.php file:

    
    add_filter( 'jck_sfr_get_default_post_status', 'jck_sfr_change_default_post_status', 10 );
    
    function jck_sfr_change_default_post_status() {
        return 'publish';
    }
    
    • This reply was modified 1 year ago by James Kemp.
    motlive

    (@motlive)

    That worked a treat, many thanks for the quick response.

    Liking what you’re creating!

    Plugin Author James Kemp

    (@jamesckemp)

    Glad to hear it! pro version is almost ready for release now. If you have any requests, please let me know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default Status’ is closed to new replies.