hide “Open in New Tab” checkbox in link field
Site-Wide Checkbox Hide You can add a simple function to your functions.php to change its visibility (and will also set the default checked state to false): function disable_open_new_window() { ?> <script type=”text/javascript”> jQuery(document).ready(function ($) { $(‘input#link-target-checkbox’).prop(‘checked’, false); $(‘#wp-link .link-target’).css(‘visibility’, ‘hidden’); }); </script> <?php } add_action (‘after_wp_tiny_mce’, ‘disable_open_new_window’); This will change the visibility of that checkbox … Read more