I found both 'echo' and 'return' are working fine to display in shortcode function.
function display_shortcode_content($atts) {
echo "COMES";
}
function display_shortcode_content($atts) {
return "COMES";
}
My doubt is what is difference between echo and retutn in the function?