Created
November 13, 2017 17:06
-
-
Save fervous/c5d3811539f5eeaeaee3f74e21814b48 to your computer and use it in GitHub Desktop.
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
/* this would go in your child theme functions.php: */ | |
function custom_shipping_message () { | |
$message = 'your message here'; | |
echo '<p>'.$message.'</p>'; | |
} | |
/* this would go where you wish the message to show up in your product-edit.php | |
template which you have copied and moved to your child theme | |
(wp-content/themes/your-child-theme/wc-vendors/dashbaord/product-edit.php): */ | |
<?php custom_shipping_message( ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment