WOOT - WooCommerce Active Products Tables

table23_do_not_print

This is JavaScript variable for print popup window excluded columns. Define it on the site footer (wp_footer) like: var table23_do_not_print=[‘my_col1’, ‘my_col2’];


Example:

add_action('wp_footer', function() {
    if (!is_page(array(377, 'Contact'))) {
        ?>
        <script>
            var table23_do_not_print= ['ask_me'];
        </script>
        <?php

    }
});