title: Extract shortcode parameters in content - Wordpress
body: <p>Think about a post content like below:</p>
  
  <pre><code>[shortcode a="a_param"]
  ... Some content and shortcodes here
  [shortcode b="b_param"]
  .. Again some content here
  [shortcode c="c_param"]
  </code></pre>
  
  <p>I have a shortcode that takes 3 or more parameters. 
  I want to find out how many times the shortcode is used at the content and its parameters in an array like,</p>
  
  <pre><code>array (
  [0] =&gt; array(a =&gt; a_param, b=&gt; null, c=&gt;null),
  [1] =&gt; array(a =&gt; null, b=&gt; b_param, c=&gt;null),
  [2] =&gt; array(a =&gt; null, b=&gt; null, c=&gt;c_param),
  )
  </code></pre>
  
  <p>I need to do this in the_content filter, wp_head filter or something similar.</p>
  
  <p>How can I do this ?</p>
  
  <p>Thank you,</p>