title: Can't remove function from wordpress WooCommerce hook using remove_action()
body: <p>Building an ecommerce site with WooCommerce. I am trying to modify the theme layout by removing functions from the default hook, and plugging them into another one (so they appear on a different part of the page.</p>
  
  <p>I've successfully removed one function and plugged it into another hook...</p>
  
  <pre><code>remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40); 
  add_action('woocommerce_below_single_product_display', 'woocommerce_template_single_meta', 40);
  </code></pre>
  
  <p>That worked find, except what I don't understand is that I have to use the priority tag 40, any higher it won't work, and less it won't work? I thought the remove action priority just had to be a higher number so that it is called after the action is created.</p>
  
  <p>Now one element on the page I couldn't figure out how it was getting inserted onto the theme, using another gentlemen's function that lists all hooks and functions I was able to isolate it...</p>
  
  <pre><code>function list_hooked_functions($tag='woocommerce_single_product_summary'){
       global $wp_filter;
       if ($tag) {
        $hook[$tag]=$wp_filter[$tag];
        if (!is_array($hook[$tag])) {
        trigger_error("Nothing found for '$tag' hook", E_USER_WARNING);
        return;
        }
       }
       else {
        $hook=$wp_filter;
        ksort($hook);
       }
       echo '&lt;pre&gt;';
       foreach($hook as $tag =&gt; $priority){
        echo "&lt;br /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;\t&lt;strong&gt;$tag&lt;/strong&gt;&lt;br /&gt;";
        ksort($priority);
        foreach($priority as $priority =&gt; $function){
        echo $priority;
        foreach($function as $name =&gt; $properties) echo "\t$name&lt;br /&gt;";
        }
       }
       echo '&lt;/pre&gt;';
       return;
  }
  </code></pre>
  
  <p>What this function returned was...</p>
  
  <p><img src="https://i.stack.imgur.com/Xibrk.jpg" alt="function above returns this...">
  I isolated the function that needed to be removed from the hook. So I have this in my functions.php</p>
  
  <pre><code>add_action('init', function(){
  
      remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40); 
      remove_action('woocommerce_single_product_summary', 'venedor_single_product_links', 3135);
  
      add_action('woocommerce_below_single_product_display', 'woocommerce_template_single_meta', 40); 
      add_action('woocommerce_below_single_product_display', 'venedor_single_product_links', 40);
  }, 9000);   
  </code></pre>
  
  <p>I just can't get it to remove that venedor_single_product_links fucntions. I've tried raising the priority number, lowering it, not having it. Using the 'wp_head' action instead.</p>
  
  <p>Can anyone suggest why this may not be working and anything else I can try...</p>
  
  <p>Thanks for your time.</p>