Last active
April 30, 2020 19:44
-
-
Save flexseth/480042f3ee82d1a8d4d893fbcd4fdbde to your computer and use it in GitHub Desktop.
Change WooCommerce Store Notice (top of page)
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 | |
/* | |
* Change WooCommerce store notice text | |
* | |
*/ | |
function fp_replace_dismiss( $notice ){ | |
return str_replace( 'Dismiss', 'X', $notice ); | |
} | |
add_filter( 'woocommerce_demo_store','fp_replace_dismiss' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment