title: Change pagination base slug on WooCommerce archive product page
body: <p>I want to change pagination slug, currently 'page' to 'strana' on WooCommerce archive pages.</p>
  <p>Default setting with urls <code>http://localhost/obchod/</code> and <code>http://localhost/obchod/page/2/</code> works fine.
  When I change pagination base and resave permalinks it not works.
  Final url should look like: <code>http://localhost/obchod/strana/2/</code></p>
  <p>This is my code for changing the pagination base:</p>
  <pre><code>function custom_rewrite_rules() {
    global $wp_rewrite;
    $wp_rewrite-&gt;pagination_base = 'strana';
  }
  add_action('init', 'custom_rewrite_rules');
  </code></pre>
  <p>I always resave permalinks on WordPress or I use <code>$wp_rewrite-&gt;flush_rules();</code>, but non of these works.</p>
  <p>Note that this code works for WordPress pagination, but <strong>not for WooCommerce pagination shop pages</strong>.</p>
  <p>What Am I doing wrong?</p>