Last active
May 29, 2018 18:35
-
-
Save webdados/574704ecf877a18a8923af78e61f821b to your computer and use it in GitHub Desktop.
Add CSS or other content to the output of the Stock Exporter for WooCommerce plugin when "HTML table on new window" is chosen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wse_screen_new_header', 'wse_screen_new_header_css', 11 ); | |
function wse_screen_new_header_css() { | |
?> | |
<style type="text/css"> | |
#stock-export-table .column-value-image img { | |
max-width: 200px; | |
max-height: 200px; | |
} | |
</style> | |
<?php | |
} | |
add_action( 'wse_screen_new_footer', 'wse_screen_new_footer_notes', 9 ); | |
function wse_screen_new_footer_notes() { | |
?> | |
<p>Some footer notes</p> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment