Distributor: Disable "as draft" being checked by default

Created on 16 Sep 2020  ·  2Comments  ·  Source: 10up/distributor

Is your enhancement related to a problem? Please describe.
We are using the plugin for a centralized backend to distribute posts to other sites, without having to access the specific sites' backends. When forgetting to uncheck the "as draft" option we have to access every of those said backends.

Describe the solution you'd like
Please disable "as draft" by default, or make it a setting to disable it by default.

enhancement

Most helpful comment

Thanks a lot! Working just fine and solved my problem.

All 2 comments

Hi @TangramWerbeagentur, I'm working on a filter (and maybe a setting) to uncheck the as draft by default. In the meantime, you can fix your issue temporarily by disabling As draft distribution:

add_filter( 'dt_allow_as_draft_distribute', '__return_false' );

Thanks a lot! Working just fine and solved my problem.

Was this page helpful?
0 / 5 - 0 ratings