title: Is it possible to insert a shortcode into an image caption in Wordpress?
body: <p>Is there a way to insert a shortcode within an image caption in wordpress? Something simple like the below shortcode for instance, would be great to have inserted into an image [caption] tag if possible:</p>
  <pre><code>add_shortcode( 'current_year', 'sal_year' );
  function sal_init(){
   function sal_year() {
   return getdate()['year'];
   }
  }
  add_action('init', 'sal_init');
  </code></pre>