What is difference between echo and return in shortcode function with wordpress? : <p>I found both 'echo' and 'return' are working fine to display in shortcode function.</p>

<pre><code>function display_shortcode_content($atts) {
    echo "COMES"; 
}

function display_shortcode_content($atts) {
    return "COMES"; 
}
</code></pre>

<p>My doubt is what is difference between echo and retutn in the function? </p>
