I wanted to set the default Privacy to NO

When the user signup for the Blog/Site.

I wanted to set the default Privacy to NO

  • Predrag Dubajic
    • Support

    Hey @Team Support,

    Hope you’re doing well today :slight_smile:

    Try adding this to your child theme functions.php file or create new php file in wp-content/mu-plugins/ folder, if you don’t have that folder you can create one yourself, if you are using mu-plugin add <?php before the code:

    function select_off_by_default() { ?>

    <script type="text/javascript">
    jQuery( document ).ready(function() {
    var value = 0;
    jQuery("input[id='blog_public_off'][value=" + value + "]").attr('checked', 'checked');
    });
    </script>

    <? }
    add_action( 'wp_footer', 'select_off_by_default' );

    Let us know if this worked for you.

    Best regards,

    Predrag