title: Return URL query into post shortcode from functions.php in Wordpress
body: <p>I am able to get the shortcode to return the string 'evs' inline in post [ when I plug that in to return ] but unable to return the post thumb url, using the same shortcode from functions.php</p>
  <p>What am I doing wrong here:</p>
  <pre><code>    function thumburl_func( $atts ){
          
          $url = get_the_post_thumbnail_url('large');
  //      $eva = 'evs';
          return strval($url);
      }
      add_shortcode( 'thumburl', 'thumburl_func' );
  </code></pre>
  <p>Been stuck on this for ages now - please save my week !</p>