Forked from imran-khan1/flatsome_product_detail_page_text_after_excerpt.php
Created
March 17, 2020 12:57
-
-
Save KoolPal/c8562628ba4d81823c3ffdf248b4934e 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
<?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