title: Wordpress remove or override action "template_redirect" from another plugin
body: <p>The Woocommerce Subscriptions plugin is using a function called with action:</p>
  
  <pre><code>add_action( 'template_redirect', array( &amp;$this, 'maybe_setup_cart' ), 100 );
  </code></pre>
  
  <p>I need to remove this action in my plugin, as it is causing unwanted effects.</p>
  
  <p>I have tried creating an action before it in plugin construct, to override it:</p>
  
  <pre><code>add_action('template_redirect', array( &amp;$this, 'maybe_setup_cart' ), 98);
  </code></pre>
  
  <p>In it i am also trying to remove the action:</p>
  
  <pre><code>remove_action( 'template_redirect', 'maybe_setup_cart', 100 );
  </code></pre>
  
  <p>This is also not working.
  How can i disable the action from another plugin?</p>