Created
September 5, 2019 06:54
-
-
Save imran-khan1/1d03b53fc24b85b8f53f1c0a3b8e7f46 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
//flatsome product detail page text after excerpt | |
function display_after_short_description($excerpt) { | |
$add_to_excerpt = $excerpt . "<p style='color:green'>Add anything after excerpt</p>"; | |
return $add_to_excerpt; | |
} | |
add_filter('woocommerce_short_description', 'display_after_short_description'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment