title: PHP : Sum up the result of some "echo do_shortcode"
body: <p>I'v been searching all the website / web with to achieve that, with no luck. I'm not a developper at all also, so the few information that I could get, didn't help me either.</p>
  
  <p>The situation : I have some Wordpress plugins, that allows me to generate some numbers with shortcode. For example I have [shortcode1] from one plugin, and [shortcode2] from another, each of them returning a dynamic number.</p>
  
  <p>I'm using PHP in my pages, to display that number, by a simple "php echo do_shortcode('[shortcode1]');" , same for shortcode 2, and it works well.</p>
  
  <p>I'm trying to sum up the value that is returning from these 2 shortocdes. Lets say shortcode1 = 10 and shortcode2 = 20, I need to display "30".</p>
  
  <p>I tried sending the "do_shortcodes" into arguments, then using "sum", or use "+", but none of this worked, and actually it makes sense because when doing so, I am attributing the shortcode to this argument, not the actual result of it. Knowing that, I then tried to apply "echo do_shortcode" to the argument instead, to save the result instead of the actual shortcode. But apparently it's not correct to do it, or I don't have the way to do it.</p>
  
  <p>I hope I could explained properly, any idea of how I could achieve this ? (Wishing there could be an answer as simple as 1+1=2 :) )</p>
  
  <p>Thanks in advance</p>