Title: Export Pattern &amp; Block Location
Author: Luis Ruiz
Published: <strong>27 Sginer 2026</strong>
Last modified: 27 Sginer 2026

---

Search plugins

![](https://ps.w.org/export-pattern-block-location/assets/banner-772x250.png?rev
=3447586)

![](https://ps.w.org/export-pattern-block-location/assets/icon.svg?rev=3447586)

# Export Pattern & Block Location

 By [Luis Ruiz](https://profiles.wordpress.org/lruizcode/)

[Download](https://downloads.wordpress.org/plugin/export-pattern-block-location.1.0.0.zip)

 * [Details](https://lmo.wordpress.org/plugins/export-pattern-block-location/#description)
 * [Reviews](https://lmo.wordpress.org/plugins/export-pattern-block-location/#reviews)
 *  [Installation](https://lmo.wordpress.org/plugins/export-pattern-block-location/#installation)
 * [Development](https://lmo.wordpress.org/plugins/export-pattern-block-location/#developers)

 [Support](https://wordpress.org/support/plugin/export-pattern-block-location/)

## Description

Export Pattern & Block Location is a powerful tool for WordPress developers and 
site administrators that helps you find where specific CSS classes, Gutenberg blocks,
and WordPress patterns are being used across your entire site.

#### Features

 * CSS Class Search – Find all occurrences of specific CSS classes in your content
 * Gutenberg Block Search – Locate all uses of specific blocks (including nested
   blocks)
 * Pattern Search – Find where WordPress block patterns are being used
 * CSV Export – Download results as a CSV file for easy analysis
 * JSON Export – Get results in JSON format via REST API
 * WPML Support – Filter searches by language for multilingual sites
 * Admin Interface – Easy-to-use admin page under Tools menu
 * REST API – Programmatic access for automation and integrations

#### Use Cases

 * Find all pages using a deprecated CSS class before removing it
 * Audit which posts are using a specific Gutenberg block
 * Track pattern usage across your site for design consistency
 * Prepare for theme or plugin updates by knowing what is in use
 * Generate reports for content inventory

### Development

This plugin uses a build process to generate the JavaScript and CSS files
 distributed
in `assets/build/`.

The original, human-readable source files are available in the
 assets/src/ directory
included in this plugin.

## Screenshots

 * [[
 * Admin interface showing the search form
 * [[
 * Search results with success message
 * [[
 * Example of exported CSV file

## Installation

 1. Upload the `export-pattern-block-location` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to Tools > Export Pattern & Block Locations to use the admin interface.

## FAQ

### What post types are searched?

By default, the plugin searches all public post types including posts, pages, and
custom post types.

### Can I search multiple terms at once?

Yes! Simply separate your search terms with commas. For example: `btn-primary, container,
hero-section`

### Does it search nested blocks?

Yes, the plugin recursively searches through all nested blocks to find matches.

### Can I use this with WPML?

Yes, the plugin supports WPML and allows you to filter searches by language.

### Is there a REST API?

Yes, the plugin provides a REST API endpoint at `/wp-json/epbl-search/v1/run` for
programmatic access.

### How do I authenticate API requests?

You can either be logged in as an administrator, or use an access token defined 
in your wp-config.php:
 define( ‘EPBL_ACCESS_TOKEN’, ‘your-secure-token-here’ );

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Export Pattern & Block Location” is open source software. The following people 
have contributed to this plugin.

Contributors

 *   [ Luis Ruiz ](https://profiles.wordpress.org/lruizcode/)
 *   [ Bubuku I Code ](https://profiles.wordpress.org/bubuku/)

[Translate “Export Pattern & Block Location” into your language.](https://translate.wordpress.org/projects/wp-plugins/export-pattern-block-location)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/export-pattern-block-location/),
check out the [SVN repository](https://plugins.svn.wordpress.org/export-pattern-block-location/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/export-pattern-block-location/)
by [RSS](https://plugins.trac.wordpress.org/log/export-pattern-block-location/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.
 * Admin interface for searching and exporting.
 * REST API endpoint for programmatic access.
 * Support for CSS classes, Gutenberg blocks, and patterns.
 * CSV and JSON export formats.
 * WPML language filtering support.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/export-pattern-block-location/)
 * Tags
 * [blocks](https://lmo.wordpress.org/plugins/tags/blocks/)[export](https://lmo.wordpress.org/plugins/tags/export/)
   [gutenberg](https://lmo.wordpress.org/plugins/tags/gutenberg/)[patterns](https://lmo.wordpress.org/plugins/tags/patterns/)
   [search](https://lmo.wordpress.org/plugins/tags/search/)
 *  [Advanced View](https://lmo.wordpress.org/plugins/export-pattern-block-location/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/export-pattern-block-location/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/export-pattern-block-location/reviews/)

## Contributors

 *   [ Luis Ruiz ](https://profiles.wordpress.org/lruizcode/)
 *   [ Bubuku I Code ](https://profiles.wordpress.org/bubuku/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/export-pattern-block-location/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.bubuku.com/)