### [Introducing WPCode 2.2.6 - New Snippet Shortcode Finder + Improved WooCommerce Integration](https://wpcode.com/introducing-wpcode-new-snippet-shortcode-finder-improved-woocommerce-integration/)

**Published:** March 6, 2025
**Author:** Aazim Akhtar

**Content:**

Are you struggling to keep track of where all your snippet shortcodes are being used across your WordPress site?

Here’s a thought: How many hours have you wasted browsing through pages and posts on your site, trying to find where you placed a code snippet using a shortcode?

Every minute spent searching through your site’s content is time you could be spending on growing your business. And if you need to update or modify a shortcode, not knowing where it’s used could lead to broken functionality across your site.

That’s why I’m thrilled to announce the release of WPCode 2.2.6 with our game-changing shortcode finder feature. You can now easily find out where a [code snippet](https://wpcode.com/what-is-a-code-snippet-wordpress/) is being used as a shortcode. That’s not all, the new release also includes an improved [conditional logic rule](https://wpcode.com/introducing-wpcode-221/) for WooCommerce.

Let’s dive into the details!

### Quickly Find Snippets Shortcodes on Your Site

With WPCode, you can easily insert [custom code snippets using shortcodes anywhere on your site](https://wpcode.com/how-to-add-custom-html-code-to-wordpress-site/).

But if you have multiple code snippets, then it can be hard to remember where you exactly added the shortcode to [run the snippet](https://wpcode.com/docs/run-code-snippets-on-demand/).

That’s where this new addition in WPCode comes in handy.

It makes [tracking your shortcodes as simple as clicking](https://wpcode.com/better-conversion-pixels-tracking-with-click-events-and-snapchat-integration/) a button. No more manual searches, no more guesswork, and no more missed instances of your snippets.

You can head to any [code snippet](https://wpcode.com/how-to-load-code-snippets-as-files-in-wordpress/) in WPCode and then scroll down to the ‘Insertion’ section. From here, you’ll find the **Locations Used** option under the ‘Shortcode’ tab.

Simply click the ‘Find Where This Shortcode Is Used’ button and WPCode will automatically scan your entire website to show the location of the shortcode.

![Find shortcode locations](https://wpcode.com/wp-content/uploads/2025/02/find-shortcode-locations.png)

The plugin will find shortcode used across posts, pages, Full Site Editor templates, and even within other [WPCode snippets](https://library.wpcode.com/ "WPCode Snippet Library").

The best part that it will also work with the ‘Custom Shortcode’ feature in [WPCode Pro](https://library.wpcode.com/pricing/ "WPCode Pro"). It will easily find your shortcode names and show them where they’re being used on your site.

### Improved Conditional Logic Rule for WooCommerce Cart

But that’s not all! We’ve also supercharged our WooCommerce integration by improving the [smart conditional logic rule](https://wpcode.com/features/smart-conditional-logic/ "Smart Conditional Logic").

By using the ‘WooCommerce Cart’ rule, you can show the [code snippet based on the products](https://wpcode.com/deploy-from-library/) that are in the cart.

To give you more control, WPCode makes it even easier to choose products by including the different SKUs and product variations in the search. This way, your [snippet will only run when that particular products](https://wpcode.com/deploy-from-library/) are added to the cart.

![WooCommerce conditional logic rule](https://wpcode.com/wp-content/uploads/2025/02/woocommerce-conditional-logic-rule.png)

The new features and improvements are now live for both WPCode Pro and Lite users.

Ready to take control of your WordPress shortcodes? [Upgrade to WPCode 2.2.6 today](https://library.wpcode.com/pricing/ "Upgrade to WPCode 2.2.6 today") and power of instant shortcode tracking.

That said, our [team is working on bringing more new features](https://wpcode.com/empower-your-teams-collaboration-meet-wpcodes-new-access-control-feature/) and improvements to WPCode. So keep a look-out for more exciting releases coming soon.

If you have any questions or need more information, don’t hesitate to reach out. Our team is always here to [assist you](https://wpcode.com/contact "Contact Us for Assistance ").

**Categories:** Announcement

**Tags:** add to cart, conditional logic, custom code, shortcode, shortcode finder, smart conditional logics, woocommerce, wpcode

---

