title: Change WooCommerce products menu title in WordPress admin dashboard
body: <p>We have tried to change the products page at the back end title menu but we couldn't using the snippet below in the screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/NDHpH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NDHpH.png" alt="enter image description here"></a></p>
  
  <p>We need to change both the menu title "<strong>Products</strong>" to " <strong>New Title</strong> " &amp; Sumbmenu <strong>"All Products</strong>" to " <strong>All Submenu</strong> "</p>
  
  <pre class="lang-php prettyprint-override"><code>add_filter( 'gettext', 'custom_translate_woocommerce_strings', 999, 3 );
  
  function custom_translate_woocommerce_strings( $translated, $text, $domain ) {
  
      $translated = str_ireplace( 'Product', 'New Title', $translated );
  
      return $translated;
  }
  </code></pre>