Title: WP_Style_Engine_CSS_Rules_Store::get_stores
Published: November 2, 2022
Last modified: April 28, 2025

---

# WP_Style_Engine_CSS_Rules_Store::get_stores(): 󠀁[WP_Style_Engine_CSS_Rules_Store](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/)󠁿[]

## In this article

 * [Return](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#wp--skip-link--target)

Gets an array of all available stores.

## 󠀁[Return](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#return)󠁿

 [WP_Style_Engine_CSS_Rules_Store](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/)[]

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#source)󠁿

    ```php
    public static function get_stores() {
    	return static::$stores;
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php#L73)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php#L73-L75)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_enqueue_stored_styles()](https://developer.wordpress.org/reference/functions/wp_enqueue_stored_styles/)`wp-includes/script-loader.php` |

Fetches, processes and compiles stored core styles, then combines and renders them to the page.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/get_stores/?output_format=md#changelog)󠁿

| Version | Description | 
| [6.1.0](https://developer.wordpress.org/reference/since/6.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_style_engine_css_rules_store%2Fget_stores%2F)
before being able to contribute a note or feedback.