Make Vendor Notes to customer on order page always open!
put it in your js file or include it in header
$(document).ready(function() {
$('details.order-accordion').attr('open' ,'');
});
php version
function add_custom_jquery_script() { ?> <script type="text/javascript"> jQuery(document).ready(function($) { $('details.order-accordion').attr('open', ''); }); </script> <?php } add_action('wp_head', 'add_custom_jquery_script');